Mail Archives: djgpp/1997/07/12/21:04:05
Emir Halepovic (af050 AT sfn DOT saskatoon DOT sk DOT ca) wrote:
> Does Gnu Pascal support "Exit" command to terminate the procedure ?
Version 2.0 doesn't. Use "Return" instead. To exit a *function*,
use "Return ( <result> );" (yes, that's about like in C).
However you might want to have a look at the current
beta release, gpc-970624, which *has* "Exit".
See ftp://agnes.dida.physik.uni-essen.de/gnu-pascal/beta/.
Hope this helps,
Peter
Dipl.-Phys. Peter Gerwinski, Essen, Germany, free physicist and programmer
Reply e-mail to "uni-essen" http://home.pages.de/~peter.gerwinski/ [970201]
instead of "NO-SPAM-PLEASE". maintainer GNU Pascal [970510] kampi.hut.fi/gpc
Sorry for the inconvenience. http://home.pages.de/~gnu-pascal/ [970125]
- Raw text -