Careful, Paul, you tempt the flames of ardency! On Tue, Jan 20, 2015 at 10:43 PM, Paul Gilmartin < 0000000433f07816-dmarc-requ...@listserv.ua.edu> wrote:
> On Wed, 21 Jan 2015 01:24:24 +0100, Bernd Oppolzer wrote: > > > >... Same goes > >for the difference of two pointers; you get the numbers of elements > between the > >pointers. That's because every pointer is typed in C. > > > >PL/1 today also allows simple pointer arithmetic, and even with a C-like > >syntax (if you want): > > > >DCL P PTR; > > > >P = ADDR (X); > >P += 5; > > > >/* now P contains the ADDR of X plus 5 */ > > > >but unlike C, pointers in PL/1 have no type, so in this case, you get > simple > >address arithmetic. > > > I shall scarcely be surprised if an ardent PL/I partisan on this list > touts that > as a merit of PL/I. > > -- gil > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN > -- zMan -- "I've got a mainframe and I'm not afraid to use it" ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN