Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.os.vms    |    DEC's VAX* line of computers & VMS.    |    264,096 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 263,773 of 264,096    |
|    =?UTF-8?Q?Arne_Vajh=C3=B8j?= to All    |
|    Re: VMS Bootcamp    |
|    15 Nov 25 19:17:49    |
      From: arne@vajhoej.dk              On 11/15/2025 7:00 PM, Arne Vajhøj wrote:       > Delphi code:       >       > program pasptr(input, output);       >       > var       > p : pchar;       > hack1, hack2 : pchar;       >       > begin              Drop line below (it should not be there):              > GetMem(p, 3);       > p := 'ABC';       > writeln(p[0]);       > hack1 := p + 1;       > writeln(hack1[0]);       > hack2 := @p[0] + 2;       > writeln(hack2[0]);       > end.       >       > That code is C in Pascal.              Arne              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca