EasyManua.ls Logo

Commodore 128 - Graphic and Sound Command Format

Commodore 128
448 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
VARIABLE refers to any valid BASIC variable names, such as X,
A$, T%, etc.
EXPRESSION refers to any valid BASIC expressions, such as
A+B+2, ,5*(X+3), etc.
COMMAS (,) COLONS (:) and SEMICOLONS (;) These MUST
be included, they are required parts of the command or
statement.
GRAPHIC AND SOUND COMMAND FORMAT
Optional parameters in Graphics and Sound commands are
represented like this:
[.parameter]
When parameters are omitted the comma MUST be included, this
is because the parameters are position dependent. You must not,
however, include commas after the last specified parameter.
EXAMPLE:
ENVELOPE n [,atk][,dec][,sus][,rel][,wf][,pw]
To alter just the rel parameter, use:
ENVELOPE nrel
The first three commas mark the positions of atk, dec, sus and
the fourth is the comma for rel. The commas for wf and pw must
not be entered.
ln the GRAPHICS commands whenever there is a coordinate
specified by (X,Y) it is possible to replace this with a vector (X;Y).
ln this case:
X is the distance (scaled)
Y is the angle in degrees (0 = up; 90 = right etc).
For example:
LOCATE 160,100
DRAW TO 40;45
will draw a line at 45 degrees of length 40.
16-6

Table of Contents

Other manuals for Commodore 128

Related product manuals