17 Jun
1997
17 Jun
'97
2:11 a.m.
According to Frank Heckenbach:
Ooops, can't gpc write PChars at all? The following doesn't work:
program x; {$x+} var a:PChar; begin writeln(a) end.
Fixed.
Similarly, the following compiles with BP, but not with gpc:
program x; {$x+} var a:PChar; begin a:='Test' {in BP: assign the address of the 0-terminated string 'Test'#0 (stored somewhere statically) to a} end.
Fixed. Greetings, Peter Dipl.-Phys. Peter Gerwinski, Essen, Germany, free physicist and programmer peter.gerwinski@uni-essen.de - http://home.pages.de/~peter.gerwinski/ [970201] maintainer GNU Pascal [970510] - http://home.pages.de/~gnu-pascal/ [970125]
10653
Age (days ago)
10653
Last active (days ago)
0 comments
1 participants
participants (1)
-
Peter Gerwinski