Nostalgie BASIC 1.0 (build 6) Apk
Rate saved, Thank!
0 (0 votes)
Description of Nostalgie BASIC
BASIC OPERATORS
Nostalgie BASIC [nɔstal'ʒi: 'beɪsɪk] is an interpreter for good old classical BASIC with all operations and program input done using the command line.
To make a program, write the line number and operator with parameters. For example:
10 rem this is my first program
20 cls
30 input "What is your name", a$
40 print "Hello "; a$
50 end
run
Below are the operators supported by this version of BASIC. Please, type "help" and press ENTER inside the program, to see the full list of operators and functions.
(You can shorten the operators. For example, instead of writing "cls", you can simply write "c". However, to avoid ambiguity with some operators, such as "let", "load", "list", which all start with a letter "l", you are advised to write at least 2 or 3 letters.)
HELP
Show help. For more details, enter the program and type "help" in the command line.
CLS
Clear screen.
END
End the program execution.
FOR, STEP and NEXT
Execute a loop cycle. If the Step parameter is omitted then the step is 1
GOTO
Jump to a line number.
GOSUB and RETURN
Execute a subroutine and return.
IF
Jump to a line on a condition. This operator accepts only branching with words "then", "goto" or "then goto".
LET
[Optional] Assigns a variable.
Only two types of variables are available: DECIMAL and STRING. String variable names must always end in $-sign.
PRINT or ?
Print an expression to the screen (if the expression is followed by ; then it does not jump to a new line)
REM or '
Comment.
Program Management Operator
NEW
Wipe current program from memory and start creating a new program.
LIST
Print out the program in the memory.
RUN
Run the program.
RENUM
Renumber the app, step 10.
Line Deletion
Write the line's number without any operators
Edit a line
To edit the last entered line, type . (dot) and press [ENTER]
Type . (dot) and the number of the line.
LOAD ["Name"]
The current program is always saved in file "default.bas" when you exit the environment.
"load" without parameters, show file list in storage. "load" with a file name within quote marks, load a program into memory.
SAVE "Name"
Save the program.
DELETE "Name"
Delete file
You can enter several commands and parameters in one line by separating them with a : (comma). For example:
1000 rem ---- Next line prints a dashed separator line
1010 print : for i=1 to 10 : print "-"; : next i : print