return stops the execution of the script, and can be used to return a value to the calling application
return; // exits the script
return 1; // exits the script and returns 1 to the calling application
return stops the execution of a function, and returns the specified value to the caller
string func() { return "hello"; } string val = func(); // set val to the value that is returned by func
There was an error while loading. Please reload this page.