It looks like you're new here. Sign in or register to get started.
IF A>B then EXIT; C = B + A;
EXIT(varReturnValue);
Comments
When you come to a point when you want to leave the function and skip the coding behind the exit. Used mostely in an IF statment.
If A is larger than B the function will stop and the addition will not be executed.
Exit can also be used in connection with a return value of a function
then the syntax is:
varReturnValue will be given back to a variabel used in the Function call.
Hope this helps!
Regards,
...
Everybody on-line.
...
Looking good!
Manila, Phils.