Is Exit not included in GPC? i.e.
program test;
procedure t1(a:integer); begin writeln('hello1'); if a = 1 then exit; writeln('hello2'); end;
begin writeln('hello'); t1(1); t1(0); writeln('hello3'); end.
should produce: hello hello1 hello1 hello2 hello3
but I get Undefined Indentifier 'Exit' I tried using return; and that works. I posted this question to the comp.lang.pascal NG and had someone from Borland tell me that Exit should do the trick (I didn't say I wasn't using TP tho).
Is exit a Borland thing?
-SC