Return without a gosub

Kenneth Brody kenbrody at spamcop.net
Wed Mar 2 10:07:01 PST 2011


On 3/2/2011 12:15 PM, Kenneth Brody wrote:
[...]
> My recommendation is not never have a "sometimes I RETURN from a GOSUB, and

"not never"?  That should, of course, be "to never".

> sometimes I just END" scenario.  _Always_ have a subroutine finish with a
> RETURN.  If there are times when it's used as some standalone code which
> doesn't need the RETURN, then make the standalone code consist of just a
> GOSUB to the subroutine followed by an END.

-- 
Kenneth Brody


More information about the Filepro-list mailing list