Skip to content

Commit

Permalink
Merge pull request #2204 from toncho11/patch-4
Browse files Browse the repository at this point in the history
Update basic README.md
  • Loading branch information
ghaerr authored Jan 30, 2025
2 parents 55224af + 5c30d2b commit fb39cdc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions elkscmd/basic/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ To exit BASIC use CTRL-D. To quit a basic program use CTRL-C.

BASIC Language
--------------
Variables names can be up to 8 alphanumeric characters but start with a letter e.g. a, bob32
Variables names can be up to 8 alphanumeric characters (no special charactes such as "_") but start with a letter e.g. a, bob32
String variable names must end in $ e.g. a$, bob32$
Case is ignored (for all identifiers). BOB32 is the same as Bob32. print is the same as PRINT

Expand Down Expand Up @@ -40,7 +40,7 @@ REM <comment> e.g. REM ** My Program ***
STOP
CONT (continue from a STOP)
INPUT [string prompt,] variable e.g. INPUT a$ or INPUT a(5,3)
IF <expr> THEN cmd e.g. IF a>10 THEN a = 0: GOTO 20
IF <expr> THEN cmd e.g. IF a>10 THEN a = 0: GOTO 20, "ELSE" is not supported
FOR variable = start TO end STEP step
NEXT variable
GOSUB lineNumber
Expand Down

0 comments on commit fb39cdc

Please sign in to comment.