the program stops at the end of the main code, which is rather odd!
Whoops, it seems that this was due to a problem of wrong linker or gcc version recompiling from djgpp bin dir gives something a little bit better :
the main break works and the program is indeed stopped before the main procedure but nevertheless main has no line info and thus "next" command will go right to the end !
Couldn't the startup code be integerate at begin of the main code directly ? This way "next command would stop at the begin of the line s1:='It';
program test_gpc(input,output); type string32 = string[32]; var s1, s2 : string32; begin s1:='It '; s2:=s1+'works'; Writeln('It works'); Writeln(s2); end.
Pierre Muller Institut Charles Sadron 6,rue Boussingault F 67083 STRASBOURG CEDEX (France) mailto:muller@ics.u-strasbg.fr Phone : (33)-3-88-41-40-07 Fax : (33)-3-88-41-40-99