1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27

COLOR=num
Sets the Lores plotting color. Valid colors are 0 (Black), 1
(Magenta), 2 (Dark Blue), 3 (Violet), 4 (Dark Green), 5 (Dark Gray), 6
(Medium Blue), 7 (Light Blue), 8 (Brown), 9 (Orange), 10 (Light Gray),
11 (Pink), 12 (Bright Green), 13 (Yellow), 14 (Aqua) and 15 (White).
If the value for your color is greater than 15, only the remainder
when divided by 16 is used, so 'COLOR=16' is equivalent to 'COLOR=0'
and the like.

CONT
Immediate-mode command to attempt to continue running a program after
it was stopped by STOP, END or a Control-C. You cannot continue after
Control-C'ing an INPUT statement, no program was running, or the
program has been modified since stopping.

COS( ang)
Computes the cosine of ang, with ang measured in radians.

DATA const[,const...]
Stores a list of constant values to be assigned by READ. Values can
either be numeric or strings; quotes are not needed unless the string
contains spaces, commas or colons. Constants can be blank (i.e.
nothing between the commas), leading to a zero (if read as numeric) or
a null string.

DATA statements are essentially ignored in immediate mode; strange
behavior has been occasinally observed if program flow reaches them.

DEF FN var(arg)=expr
Defines a mathematical function of at most one line for later use as
'FN var(arg)'. 'arg' is a placeholder variable name; it can be used in
expr to pass variables in. However, 'arg' can be used elsewhere in the
program without worrying about side effects from function definition
or calls. Functions can call other functions, but may not be
recursive.

Functions may be redefined if desired with another DEF FN block.

DEL line1,line2
Deletes a line or range of lines. Line2 must be greater than or equal
to line1; all lines between them (inclusive) are deleted. It can be
used in deferred mode under Applesoft, at which point the lines are
deleted and the program stops, no possibility of a CONT.

To delete a single line of code from the prompt, you can type simply
the line number and press return-- that 'replaces' it with an empty
line.

DIM var(size1[,size2...])[,var2(size1[,size2]...)...] Creates space
for an array of the specific type (real, integer or string) and the
specific size. n+1 elements in each dimension are created, referenced
0..N. Given that Applesoft only has a limited memory pool, you cannot
create very large arrays. Multiple arrays can be DIM'd at once by
separating them with commas in the DIM statement. If an array is
referenced before being DIM'd, Applesoft assigns the array a size of
10. You may not DIM an array a second time.

DRAW shapenum [AT x,y]
Draws the hires shape specified in the current HCOLOR, SCALE and ROT
on the current hires screen. The position is optional; if omitted, it
defaults to the last point done by the last DRAW, XDRAW or HPLOT.

Drawing shapes when no shape table has been defined or loaded is a bad
idea.