Rewrite/Reset with filename as second parameter
22 Oct
1997
22 Oct
'97
2:44 p.m.
Should GPC allow passing the filename to Rewrite/Reset as the second parameter, rather than calling Assign prior to the call to Rewrite/Reset? (several Pascal compilers outside the Borland family have this feature). Currrently, the the program below compiles correctly, but at run-time it stops with the error message ?GPC runtime error: (gpc-rts) Internal file namei wrong (#700) program Test; var F : Text; begin Rewrite (F, 'test.out'); Writeln (F, 'This is a test ....'); Close (F); end. Jesper Lund
10523
Age (days ago)
10523
Last active (days ago)
0 comments
1 participants
participants (1)
-
Jesper Lund