EasyManua.ls Logo

AMSTRAD cpc 6128 - Mover

AMSTRAD cpc 6128
520 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...
MOVE
M 0 V E
<x
co-ordinate> ,
<y
co-ordinate>[, [<ink>][,
<ink
mode>]]
10
MODE
1
:TAG
20
x=RND*800-100:y=RND*430
30
MOVE
x,y
40
PRINT
"I
moved
here";
50
GOTO
20
run
COMMAND: Moves
the
graphics cursor to
the
absolute point specified
by
<x
co-ordinate>
and
<y
co-ordinate>.
The
optional
<ink>
parameter
may
be used to change
the
graphics
pen
ink,
in
the
range
0 to 15.
The optional
<ink
mode>
determines
how
the
ink
to be
written
next, will
interact
with
that
already
on
the
graphics
screen.
The
4
<ink
mode>s are:
O:Normal
1:
XOR (eXclusive OR)
2:AND
3:0R
Associated keywords:
MOV
E
R,
0 RIG I
N,
X
PO
S, Y
PO
S
MOVER
M 0 V E R
<x
offset>
,
<y
offset>
[ , [<ink>][,
<ink.mode>]]
10
MODE
1:TAG:MOVE
0,16
20
PRINT
"Life
has
its";
30
FOR
n=1
TO
10
40
MOVER
-32,16
50
PRINT
"ups";:NEXT:PRINT "
and";
60
FOR
n=1
TO
10
70
MOVER
-64,-16
80
PRINT
"downs";:NEXT
run
COMMAND: Moves
the
graphics cursor to a point
relative
to
its
current
position. The
relative
position is specified by
<x
offset>
and
<y
offset>.
The optional
<ink>
parameter
may
be used to
change
the
graphics
pen
ink,
in
the
range
0 to 15.
The optional
<ink
mode>
determines
how
the
ink
to be
written
next, will
interact
with
that
already
on
the
graphics screen.
The
4
<ink
mode>s are:
O:Normal
1 : XOR (eXclusive OR)
2:AND
3:0R
Associated keywords: M 0 V
E,
0 RIG I
N,
X
PO
S, Y
PO
S
Complete
List
of Keywords
Chapter 3 Page
47

Table of Contents

Related product manuals