Exit Function

BlitzPlus Forums/BlitzPlus Programming/Exit Function

Is there a way to force an exit from a function. Like Exit this function.?

Return. Is what your looking for.

kev

Doesn't matter what the value you return is, unless you want the calling process to use the return value.

Remember to use "Return" sparingly to exit routines - it's bad coding practice to litter your source with them.