From: peter AT agnes DOT dida DOT physik DOT NO-SPAM-PLEASE DOT de (Peter Gerwinski) Newsgroups: comp.os.msdos.djgpp Subject: Re: Exit from procedure Date: 12 Jul 1997 19:38:45 GMT Organization: Universitaet Essen, Germany Lines: 19 Message-ID: <5q8mg5$p57@sun3.uni-essen.de> References: <01bc8ef0$9f079220$8d4c8bc0 AT Emir DOT usask DOT ca> Reply-To: peter DOT gerwinski AT NO-SPAM-PLEASE DOT de NNTP-Posting-Host: agnes.dida.physik.uni-essen.de To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk 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 ( );" (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]