Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Vilnius BASIC
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===Commands and statements=== The list of keywords supported in Vilnius can be separated into two groups, those that can only be used in direct mode, and those that can be direct or indirect. The former, known as commands, included the common {{code|CONT, LIST, NEW, RUN}}. {{code|CLOAD and CSAVE}} load and save programs to [[cassette tape]]. {{code|AUTO}} turned on automatic line number entry, {{code|RENUM}} renumbered the lines in the current program, and {{code|DELETE}} deleted ranges of lines using the same "to" format as LIST, for instance, {{code|DELETE -200}} would delete everything from the start of the program up to an including line 200. Vilnius' primitives were similar to other BASICs of the era, and supported most of the elementary statements like {{mono|DATA, DEF FN, DIM, END, [[For loop|FOR..TO..STEP..NEXT]], [[GOSUB]], [[GOTO]], [[Conditional (programming)|IF..THEN]] with an optional ELSE, INPUT, (optional) LET, LIST, PRINT, ON...GOTO and ON...GOSUB, READ, [[Comment (computer programming)|REM]], RESTORE, [[Return statement|RETURN]], STOP}}. In contrast to most dialects, Vilnius did not allow more than one statement per line.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)