how to exit a function?

  • Thread starter Thread starter Jeroen CEuppens
  • Start date Start date
If I want to exit the function where i'm in, could i use exit()?

just use:
return;

(and if it is a function with result you should use a proper return value
so that the calling function can recognize it... if you need this)

Boris
 
Back
Top