oo! OO!  I know!  I KNOW! : 
   Don't use GOSUB.
   Only program with GOTOs.
Problem solved.

If you insist on using GOSUBs instead of GOTOs, then what Ray said.
Don't specify it until after main routine is done and gosubs begin:

01:       FUNCTION ANTHONY( INARG1, INARG2 )
02:       GOSUB ABC
03:       GOSUB XYZ
04:       RETURN( OUTARG )    <--- warning is on (by default)
05: $OPTIONS NO.RETURN.WARN ;* internal subroutines from here on.
06: ABC:  . . .
07:       RETURN              <--- warning is off
08: XYZ:  . . .
09:       RETURN              <---   ''    '' ''
10:    END
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to