[fpc-pascal] Re: Return & Exit
roward at mac.com
Mon Apr 13 00:06:20 CEST 2009
>> return x;
>> funcname := x;
> exit(x); can be used in mode objfpc.
OK. Thanks. That will be more portable than return since objpas is
fairly common. Return is a bit simpler syntactically but exit
performs the same way which is more important to having to change or
not having to change the structure of the code and will be simpler to
change if needed.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-pascal