From 5a5a7137e84127b98391691ecab91dac1f666e81 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Sun, 21 Jul 2024 16:44:51 -0400 Subject: bas2aplus: error exit and message on bad tokens; tweak doc. --- bas2aplus.rst | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'bas2aplus.rst') diff --git a/bas2aplus.rst b/bas2aplus.rst index 0358091..65bcf14 100644 --- a/bas2aplus.rst +++ b/bas2aplus.rst @@ -114,10 +114,14 @@ 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 ** can appear as the last -statement on a line, and **LVAR** no longer requires an argument. -**bas2aplus** doesn't detect these constructs. +BASIC XE also allows some syntax that's not valid in either BASIC XL +or A+. For instance, **IF **, without **THEN**, can appear +as the last statement on a line, and **LVAR** no longer requires an +argument. **bas2aplus** doesn't detect these constructs. + +Actually, BASIC/A+ will **LIST** and **RUN** programs with the **IF** +issue, but such lines can't be edited in A+. Easy enough to add a +**:REM** to the end of the line, though. TURBO BASIC =========== -- cgit v1.2.3