Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Niidae Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Atari BASIC
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
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!
==Keywords== {| style="border: 1px solid darkgray;" class="wikitable collapsible collapsed" |+ Atari BASIC keywords ! Keyword !! Description |- | style="font-weight:bold; text-align:right" | ABS || align="left" | Returns the [[absolute value]] of a number |- | style="font-weight:bold; text-align:right" | ADR || align="left" | Returns the address in memory of a variable (mostly used for machine code routines stored in variables) |- | style="font-weight:bold; text-align:right" | AND || align="left" | [[Logical conjunction]] |- | style="font-weight:bold; text-align:right" | ASC || align="left" | Returns the [[ATASCII]] value of a character |- | style="font-weight:bold; text-align:right" | ATN || align="left" | Returns the [[arctangent]] of a number |- | style="font-weight:bold; text-align:right" | BYE || align="left" | Transfers control to the internal "Self Test" program ("Memo Pad" on early models) |- | style="font-weight:bold; text-align:right" | CHR$ || align="left" | Returns a character given an [[ATASCII]] value |- | style="font-weight:bold; text-align:right" | CLOAD || align="left" | Loads from [[cassette tape]] a [[Tokenization (data security)|tokenized]] program that was saved with CSAVE |- | style="font-weight:bold; text-align:right" | CLOG || align="left" | Returns the [[common logarithm]] of a number |- | style="font-weight:bold; text-align:right" | CLOSE || align="left" | Terminates pending transfers (flush) and closes an I/O channel |- | style="font-weight:bold; text-align:right" | CLR || align="left" | Clears variables' memory and program stack |- | style="font-weight:bold; text-align:right" | COLOR || align="left" | Chooses which logical color to draw in |- | style="font-weight:bold; text-align:right" | COM || align="left" | Implementation of MS Basic's COMMON was cancelled. Recognized but the code for DIM is executed instead |- | style="font-weight:bold; text-align:right" | CONT || align="left" | Resumes execution of a program after a STOP at the next line number (see STOP) |- | style="font-weight:bold; text-align:right" | COS || align="left" | Returns the [[cosine]] of a number |- | style="font-weight:bold; text-align:right" | CSAVE || align="left" | Saves to [[cassette tape]] a program in [[Tokenization (data security)|tokenized]] form (see CLOAD) |- | style="font-weight:bold; text-align:right" | DATA || align="left" | Stores data in lists of numeric or string values |- | style="font-weight:bold; text-align:right" | DEG || align="left" | Switches trigonometric functions to compute in [[degree (angle)|degrees]] ([[radian]]s is the default mode) (see RAD) |- | style="font-weight:bold; text-align:right" | DIM || align="left" | Defines the size of a string or array (see COM) |- | style="font-weight:bold; text-align:right" | DOS || align="left" | Transfers control to the Disk Operating System (DOS); if DOS was not loaded, same as BYE |- | style="font-weight:bold; text-align:right" | DRAWTO || align="left" | Draws a line to given [[Cartesian coordinate system|coordinates]] |- | style="font-weight:bold; text-align:right" | END || align="left" | Finishes execution of the program, closes open I/O channels and stops any sound |- | style="font-weight:bold; text-align:right" | ENTER || align="left" | Loads and merges into memory a plain text program from an external device, usually from [[cassette tape]] or disk (see LIST) |- | style="font-weight:bold; text-align:right" | EXP || align="left" | [[Exponential function]] |- | style="font-weight:bold; text-align:right" | FOR || align="left" | Starts a [[for loop]] |- | style="font-weight:bold; text-align:right" | FRE || align="left" | Returns the amount of free memory in bytes |- | style="font-weight:bold; text-align:right" | GET || align="left" | Reads one byte from an I/O channel (see PUT) |- | style="font-weight:bold; text-align:right" | [[GOSUB]] || align="left" | Jumps to a subroutine at a given line in the program, placing the return address on the stack (see POP and RETURN) |- | style="font-weight:bold; text-align:right" | [[GOTO]] and GO TO || align="left" | Jumps to a given line in the program. GOTO can be omitted in "IF ... THEN GOTO ..." |- | style="font-weight:bold; text-align:right" | GRAPHICS || align="left" | Sets the graphics mode |- | style="font-weight:bold; text-align:right" | IF || align="left" | Executes code depending on whether a condition is true or not |- | style="font-weight:bold; text-align:right" | INPUT || align="left" | Retrieves a stream of text from an I/O channel; usually data from keyboard (default), [[cassette tape]] or disk |- | style="font-weight:bold; text-align:right" | INT || align="left" | Returns the [[floor and ceiling functions|floor]] of a number |- | style="font-weight:bold; text-align:right" | LEN || align="left" | Returns the length of a string |- | style="font-weight:bold; text-align:right" | LET || align="left" | Assigns a value to a variable. LET can be omitted |- | style="font-weight:bold; text-align:right" | LIST || align="left" | Lists (all or part of) the program to screen (default), printer, disk, [[cassette tape]], or any other external device (see ENTER) |- | style="font-weight:bold; text-align:right" | LOAD || align="left" | Loads a [[Tokenization (data security)|tokenized]] program from an external device; usually a [[cassette tape]] or disk (see SAVE) |- | style="font-weight:bold; text-align:right" | LOCATE || align="left" | Stores the logical color or [[ATASCII]] character at given coordinates |- | style="font-weight:bold; text-align:right" | LOG || align="left" | Returns the [[natural logarithm]] of a number |- | style="font-weight:bold; text-align:right" | LPRINT || align="left" | Prints text to a printer device (same result can be achieved with OPEN, PRINT and CLOSE statements) |- | style="font-weight:bold; text-align:right" | NEW || align="left" | Erases the program and all the variables from memory; automatically executed before a LOAD or CLOAD |- | style="font-weight:bold; text-align:right" | NEXT || align="left" | Continues the next iteration of a FOR loop |- | style="font-weight:bold; text-align:right" | NOT || align="left" | [[Negation|Logical negation]] |- | style="font-weight:bold; text-align:right" | NOTE || align="left" | Returns the current position on an I/O channel |- | style="font-weight:bold; text-align:right" | ON || align="left" | A [[computed goto]] or gosub - performs a jump based on the value of an expression |- | style="font-weight:bold; text-align:right" | OPEN || align="left" | Initialises an I/O channel |- | style="font-weight:bold; text-align:right" | OR || align="left" | [[Logical disjunction]] |- | style="font-weight:bold; text-align:right" | PADDLE || align="left" | Returns the position of a [[paddle (game controller)|paddle controller]] |- | style="font-weight:bold; text-align:right" | [[PEEK and POKE|PEEK]] || align="left" | Returns the value at an address in memory |- | style="font-weight:bold; text-align:right" | PLOT || align="left" | Draws a point at given coordinates |- | style="font-weight:bold; text-align:right" | POINT || align="left" | Sets the current position on an I/O channel |- | style="font-weight:bold; text-align:right" | [[PEEK and POKE|POKE]] || align="left" | Sets a value at an address in memory |- | style="font-weight:bold; text-align:right" | POP || align="left" | Removes a subroutine return address from the stack (see GOSUB and RETURN) |- | style="font-weight:bold; text-align:right" | POSITION || align="left" | Sets the position of the graphics cursor |- | style="font-weight:bold; text-align:right" | PRINT and ? || align="left" | Writes text to an I/O channel; usually to screen (default), printer, [[cassette tape]] or disk (see LPRINT and INPUT) |- | style="font-weight:bold; text-align:right" | PTRIG || align="left" | Indicates whether a paddle trigger is pressed or not |- | style="font-weight:bold; text-align:right" | PUT || align="left" | Writes one byte to an I/O channel (see GET) |- | style="font-weight:bold; text-align:right" | RAD || align="left" | Switches trigonometric functions to compute in [[radian]]s (see DEG) |- | style="font-weight:bold; text-align:right" | READ || align="left" | Reads data from a DATA statement |- | style="font-weight:bold; text-align:right" | REM || align="left" | Marks a comment in a program |- | style="font-weight:bold; text-align:right" | RESTORE || align="left" | Sets the position of where to read data from a DATA statement |- | style="font-weight:bold; text-align:right" | RETURN || align="left" | Ends a subroutine, effectively branching to the line immediately following the "calling" GOSUB (see GOSUB and POP) |- | style="font-weight:bold; text-align:right" | RND || align="left" | Returns a [[pseudorandom number generator|pseudorandom number]] |- | style="font-weight:bold; text-align:right" | RUN || align="left" | Starts execution of a program, optionally loading it from an external device (see LOAD) |- | style="font-weight:bold; text-align:right" | SAVE || align="left" | Writes a [[Tokenization (data security)|tokenized]] program to an external device; usually a [[cassette tape]] or disk (see LOAD) |- | style="font-weight:bold; text-align:right" | SETCOLOR || align="left" | Maps a logical color to a physical color |- | style="font-weight:bold; text-align:right" | SGN || align="left" | Returns the [[sign function|signum]] of a number |- | style="font-weight:bold; text-align:right" | SIN || align="left" | Returns the [[sine and cosine|sine]] of a number |- | style="font-weight:bold; text-align:right" | SOUND || align="left" | Starts or stops playing a tone on a sound channel (see END) |- | style="font-weight:bold; text-align:right" | SQR || align="left" | Returns the [[square root]] of a number |- | style="font-weight:bold; text-align:right" | STATUS || align="left" | Returns the status of an I/O channel |- | style="font-weight:bold; text-align:right" | STEP || align="left" | Indicates the increment used in a FOR loop |- | style="font-weight:bold; text-align:right" | STICK || align="left" | Returns a [[joystick]] position |- | style="font-weight:bold; text-align:right" | STOP || align="left" | Stops the program, allowing later resumption (see CONT) |- | style="font-weight:bold; text-align:right" | STRIG || align="left" | Indicates whether a joystick trigger is pressed or not |- | style="font-weight:bold; text-align:right" | STR$ || align="left" | Converts a number to string form |- | style="font-weight:bold; text-align:right" | THEN || align="left" | Indicates the statements to execute if the condition is true in an IF statement |- | style="font-weight:bold; text-align:right" | TO || align="left" | Indicates the limiting condition in a FOR statement |- | style="font-weight:bold; text-align:right" | TRAP || align="left" | Sets to jump to a given program line if an error occurs (TRAP 40000 cancels this order) |- | style="font-weight:bold; text-align:right" | USR || align="left" | Calls a machine code routine, optionally with parameters |- | style="font-weight:bold; text-align:right" | VAL || align="left" | Returns the numeric value of a string |- | style="font-weight:bold; text-align:right" | XIO || align="left" | General-purpose I/O routine (from "Fill screen" to "Rename file" to "Format disk" instructions) |}
Summary:
Please note that all contributions to Niidae Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Encyclopedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
Atari BASIC
(section)
Add topic