home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2001 September
/
Chip_2001-09_cd1.bin
/
zkuste
/
delphi
/
kompon
/
d23456
/
CAJSCRPT.ZIP
/
ifpasscript
/
demo_kylix
/
subtest.ifs
< prev
next >
Wrap
Text File
|
2001-05-17
|
308b
|
14 lines
Program IFSTest;
function test(val: Longint): Longint;
begin
writeln(inttostr(val));
val := val + 1;
test := test(val);
end;
Begin
test(1); // never run without MaxBeginNesting set to a low value.
{
Last value printed is 999, and that's OK since main Begin end is also counted
}
End.