Exit Function

BlitzPlus Forums/BlitzPlus Programming/Exit Function

Zooker(Posted 2005) [#1]
Is there a way to force an exit from a function. Like Exit this function.?


Kev(Posted 2005) [#2]
Return. Is what your looking for.

kev


Grey Alien(Posted 2005) [#3]
Doesn't matter what the value you return is, unless you want the calling process to use the return value.


thalamus(Posted 2005) [#4]
Remember to use "Return" sparingly to exit routines - it's bad coding practice to litter your source with them.