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
Dartmouth 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!
===List of BASIC statements=== ; <code>DEF</code> : define single line functions ; <code>DIM</code> : (short for ''dimension'') define the size of arrays ; <code>END</code> : define the end of the program ; <code>STOP</code> : stop a program before the textual end ; <code>[[For loop|FOR]] / TO / STEP</code> : define loops ; <code>NEXT</code> : mark the end of loops ; <code>[[GOSUB]]</code> : transfer control to simple subroutines ; <code>[[Return statement|RETURN]]</code> : return control from simple subroutines ; <code>[[GOTO]]</code> : transfer control to another statement ; <code>IF / THEN</code> : decision making ; <code>LET / =</code> : assign formula results to a variable ; <code>PRINT</code> : output results ; <code>DATA</code> : store static data within the program ; <code>READ</code> : input data stored in DATA statements ; <code>REM</code> : comment ("REMark") It also implemented floating-point numeric variables and arithmetic.
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)