News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu
avatar_HAL6128

Basic command "sub" ??

Started by HAL6128, 23:39, 04 February 12

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

HAL6128

Just a quick question:

There a BASIC command called "SUB" at the Wiki page "Locomotive BASIC Interpreter command list".

http://cpcwiki.eu/index.php/Locomotive_BASIC#SUB
http://cpcwiki.eu/index.php/Locomotive_BASIC
There no content.

Does this command really exist?
...proudly supported Schnapps Demo, Pentomino and NQ-Music-Disc with GFX

Bryce

Well it's not mentioned in either the 464 or 6128 manual, so it must be a mistake. Or is it an undocumented secret command? :D

Bryce.

almasys

#2
Locomotive BASIC prompts this command with Syntax Error, as other unknown commands. So I removed it from the page.

Pretty restweekend,
AMSi

Devilmarkus

#3
You can enter GO SUB instead of GOSUB
Same works with GO TO instead of GOTO

So perhaps it was used while CPC Basic has been developed?
When you put your ear on a hot stove, you can smell how stupid you are ...

Amstrad CPC games in your webbrowser

JavaCPC Desktop Full Release

TFM

TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

HAL6128

Quote from: Devilmarkus on 21:21, 05 February 12
You can enter GO SUB instead of GOSUB
Same works with GO TO instead of GOTO

So perhaps it was used while CPC Basic has been developed?
...interesting. I tried that

10 go [SPACE] sub
20 go [SPACE] to
LIST

leads to

10 GOSUB
20 GOTO

There must some internal converting process during interpreting used. But the command themself doesn't exist.
Thanks for your answers.
...proudly supported Schnapps Demo, Pentomino and NQ-Music-Disc with GFX

TFM

Right, Amstrad BASIC is partially precompiled (using tokens), therefore it's so quick (compared to M$ basic or c64).
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

Powered by SMFPacks Menu Editor Mod