TIP: Click on subject to list as thread! ANSI
echo: cbm
to: ANDREAS KOHLBACH
from: JOHANN KLASEK - SWAP LAST
date: 2018-06-04 10:12:00
subject: Re: Something strange goi

Andreas Kohlbach  wrote:
> On Thu, 12 Apr 2018 18:41:56 -0700 (PDT), Thomas Lake wrote:
[..]
>> You SHOULD get a syntax error. Commodore (Microsoft) BASIC is supposed
>> to only allow numeric constants, not variables after GOTO and
>> GOSUB.

Funny things can be done with GOTO/GOSUB parsing in MS-based BASIC
variants. You may insert comment snippets to these commands to be more
verbose on the destination etc. without fiddling around with REM, which
turns the whole remaining line to comment.

100 GOSUB 9500 OPEN FILE: GOSUB 8000 CHECK STATUS: PRINT "DONE"


Johann

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.