EasyManua.ls Logo

Commodore Plus 4 - Page 93

Commodore Plus 4
464 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...
BASIC
Version
3.5
Commands,
Functions,
and
System
Variables
81
The
number
in
parentheses
is
a
dummy
argument,
which
means
it
does
not
mean
anything.
It
is
nonetheless
required,
and
you
should
just
type
RGR(O).
Example:
PRINT
RGR(O)
2
The
current
graphic
mode
is
split-screen
high-res.
RIGHTS
Abbr.
rl
RIGHTS
(string,
length)
Returns
a
substring
of
the
designated
string
with
the
specified
length.
RIGHTS
is
used
frequently
to
check
the
end
of
an
input
string.
Parameters:
master
string,
number
of
characters
to
use
1.
The
master
string
can
be
any
text
string,
text-string
variable,
or
string
expression.
2.
The
RIGHTS
substring
always
begins
at
the
rightmost
character
in
the
master
string.
You
can
use
as
many
characters
as
you
want.
If
you
specify
more
characters
than
the
string
contains,
the
entire
string
is
returned.
Examples:
PRINT
RIGHT$("GRADUATE",3)
ATE
PRINT
RIGHT$("RED",4)
The
string
contains
only
RED
three
characters
so
only
three
are
printed.
10
INPUT
"WHAT
DAY
IS
IT";
D$
20
INPUT
"MORNING
OR
AFTERNOON";
T$
30
IFRIGHT$(D$,4>"SDAY''THEN
PRINT
"TUES/THURS
SCHEDULE"
RUN
WHAT
DAY
IS
IT?
THURSDAY
MORNING
OR
AFTERNOON?
AFTERNOON
TUES/THURS
SCHEDULE
RLUM
Abbr.
rL
RLUM
(color
source)
Find
the
number
of
the
color
luminance
level
assigned
to
one
of
the
five
color
sources:
0
screen
background
color
1
foreground
color

Other manuals for Commodore Plus 4

Related product manuals