return statement tells G2 to exit the procedure and return values to the calling procedure. This is required when the procedure returns values, since at that time the values are assigned to the specified symbols. The syntax is:
return [value-expression [, ...]
The calling procedure may accept as many of the returned values as it needs; however, it may not attempt to accept more values than are returned. For details see call.