?RG ERROR
Radio Shack TRS-80
Severity: MinorWhat it means
RG means RETURN without GOSUB.
Radio Shack's Level II BASIC manual: a RETURN statement was encountered before a matching GOSUB was executed.
Often the main program has run on into a subroutine.
Affected Models
- TRS-80 Model I with Level II BASIC
How to Fix It
-
Put END on the line just before the first subroutine.
-
Check that each subroutine is reached with GOSUB, not GOTO.