diff options
author | B. Watson <urchlay@slackware.uk> | 2024-07-21 16:27:38 -0400 |
---|---|---|
committer | B. Watson <urchlay@slackware.uk> | 2024-07-21 16:27:38 -0400 |
commit | 57fe23c251492b61558483cbde470700cc4083e7 (patch) | |
tree | 26b7e6af1a6410e6a6f8d99087a22af89be6355c /bas2aplus.rst | |
parent | 3a4f45ee3127973157da66f4ebfa624bc91749a8 (diff) | |
download | bw-atari8-tools-57fe23c251492b61558483cbde470700cc4083e7.tar.gz |
bas2aplus: show token names in errors and verbose messages.
Diffstat (limited to 'bas2aplus.rst')
-rw-r--r-- | bas2aplus.rst | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/bas2aplus.rst b/bas2aplus.rst index 2ea77d4..0358091 100644 --- a/bas2aplus.rst +++ b/bas2aplus.rst @@ -24,6 +24,12 @@ XL/XE tokens have no equivalent in BASIC/A+, so programs using these can't be converted (you will see messages on standard error, in that case). +Turbo BASIC is not supported. + +Trying to convert a program that is already BASIC/A+ will appear to +succeed, but the resulting program will be gibberish and will likely +crash BASIC/A+ when **RUN**. + OPTIONS ======= @@ -91,6 +97,10 @@ doesn't support these, so they get converted to the equivalent decimal constant. This is basically a cosmetic change; **A=$0600** assigns the same value as **A=1536**. +BASIC XL also allows some syntax that's not valid in BASIC +A+. For instance, **DIR** is allowed with no argument in XL. +**bas2aplus** doesn't detect these constructs. + BASIC XE ======== @@ -104,6 +114,11 @@ a few keywords to BASIC XL, which also don't exist in A+. These are: **HITCLR**, **INVERSE**, **NORMAL**, **BLOAD**, **BSAVE** Not supported in either A+ or XL. +BASIC XE also allows some syntax that's not valid in either BASIC +XL or A+. For instance, **IF <condition>** can appear as the last +statement on a line, and **LVAR** no longer requires an argument. +**bas2aplus** doesn't detect these constructs. + TURBO BASIC =========== |