Atari 400 Basic Reference Manual page 79

Vintage computer
Hide thumbs Also See for 400:
Table of Contents

Advertisement

RESERVED
WORD:
PTRIG
PUT
RAD
READ
REM
RESTORE
RETURN
RND
RUN
SAVE
SETCOLOR
SGN
SIN
SOUND
SQR
STATUS
STEP
STICK
STRIG
STOP
A-4
Appendix
ABBREVIATION:
PU.
REA.
R. or •
lffilS'J
RES.
RET.
RU.
s.
SE.
so.
ST.
STO.
BRIEF SUMMARY
OF BASIC STATEMENT
Function returns status of the trigger button on game
controllers.
Causes output of a single byte of data from the computer
to the specified device.
Specifies that information is in radians rather than
degrees when using the trigonometric functions.
Default is to
RAD.
(See
DEG.)
Read the next items in the
DATA
list and assign to
specified variables.
Remarks. This statement does nothing, but comments
may be printed within the program list for future
reference by the programmer. Statements on a line that
starts with
REM
are not executed.
Allows
DATA
to be
read
more than once.
RETURN
from subroutine to the statement immediate-
ly following the one in which
GOSUB
appeared.
Function returns a random number between 0 and 1,
but never 1.
Execute the program. Sets normal variables to 0, un-
dims arrays and string.
I/0
statement causes data or program to be recorded on
disk under filespec provided with
SAVE.
Store hue and luminance color data in a particular color
register.
Function returns
+
1 if value is positive, 0 if zero, - 1 if
negative.
Function returns trigonometric sine of given value
(DEG or RAD).
Controls register, sound pitch, distortion, and volume of
a tone or note.
Function returns the square root of the specified value.
Calls status routine for specified device.
Used with
FOR/NEXT.
Determines quality to be
skipped between each pair of loop variable values.
Function returns position of stick game controller.
Function returns 1 if stick trigger button not pressed, 0
if pressed.
Causes execution to stop, but does not close files or turn
off sounds.

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

800

Table of Contents