GALiRe
GScript command (return)




Function:
Returns a given value from a method. i.e. -
method happy() {
$a=1;
$a++;
return($a);}
$guess=happy(); // guess is '2' now

This works outside of GALiRe Script.