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.1 | |
parent | 3a4f45ee3127973157da66f4ebfa624bc91749a8 (diff) | |
download | bw-atari8-tools-57fe23c251492b61558483cbde470700cc4083e7.tar.gz |
bas2aplus: show token names in errors and verbose messages.
Diffstat (limited to 'bas2aplus.1')
-rw-r--r-- | bas2aplus.1 | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/bas2aplus.1 b/bas2aplus.1 index 48d8f2a..46eb8cf 100644 --- a/bas2aplus.1 +++ b/bas2aplus.1 @@ -42,6 +42,12 @@ All Atari BASIC programs can be successfully converted. Some BASIC XL/XE tokens have no equivalent in BASIC/A+, so programs using these can\(aqt be converted (you will see messages on standard error, in that case). +.sp +Turbo BASIC is not supported. +.sp +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 \fBRUN\fP\&. .SH OPTIONS .SS General Options .INDENT 0.0 @@ -116,6 +122,10 @@ Also, BASIC XL supports hex constants, with a leading \fB$\fP\&. A+ doesn\(aqt support these, so they get converted to the equivalent decimal constant. This is basically a cosmetic change; \fBA=$0600\fP assigns the same value as \fBA=1536\fP\&. +.sp +BASIC XL also allows some syntax that\(aqs not valid in BASIC +A+. For instance, \fBDIR\fP is allowed with no argument in XL. +\fBbas2aplus\fP doesn\(aqt detect these constructs. .SH BASIC XE .sp BASIC XE is the last in the series of OSS BASIC interpreters. It adds @@ -129,6 +139,11 @@ program anyway. .B \fBHITCLR\fP, \fBINVERSE\fP, \fBNORMAL\fP, \fBBLOAD\fP, \fBBSAVE\fP Not supported in either A+ or XL. .UNINDENT +.sp +BASIC XE also allows some syntax that\(aqs not valid in either BASIC +XL or A+. For instance, \fBIF <condition>\fP can appear as the last +statement on a line, and \fBLVAR\fP no longer requires an argument. +\fBbas2aplus\fP doesn\(aqt detect these constructs. .SH TURBO BASIC .sp Not supported. It\(aqs also an extended version of Atari BASIC (by |