exit; ????
Tue, 29 Apr 1997 15:44:10 -0700
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
skye (s_c@iname.com)
HTML conversion by Lluís de Yzaguirre i Maura
Institut de Lingüística Aplicada -
Universitat "Pompeu Fabra"
e-mail: de_yza@upf.es