Download Print this page

Goldstar FC-200 Operating Instructions Manual page 46

Family computer

Advertisement

Constant and the
The
3.
There
methods
are
two
100-245.
PRINT
1)
A=100:B=2:C=5:PRINT
2)
and
Since
1)
displayed on
called "calculation
tion through
constant
but
the manipulation of
For
example, when you
the result
is
the
Els!
plogam
Since
?
displayed on
is
and
keys 4#5
RUN
[3]
displayed when you
is
[5]=]
after
"2".
screen and
waiting for
entered.
is
(The
program
the
+
the
Constants
mean
also called
is
*
or
—=
Just as there are "string variables" and
are
explaning
We
terms]Constants and
speaking, we
Generally
variables
stringtyped
the
numeric constants are
And
variables are
called
e
String-typed
varbies:
We call
the constants
tents as
''MSX"' in
Variable
for
calculations
A-BAC
methods have
2)
the screen
the
when
constants'' and
through
variables."
After
all,
the
second
value
the
of
the program.
enter
the two
as
follows;
the
like
figure on
the screen
calculated and
is
enter
is
2"
And
displayed on
=
some values
composed
of
Loops,
keys to hold
numeric values,
fixed
constant.
a string
them
the next
in
call
the
string-typed
variables"
''the string
simply
''variables"'
constants and
string-typed
the
with
:
the figure on
z4j=
the program.
in
the
result, the
same
executed.
is
program
method
2)
the
the result
of
method
be
will
numeric values and
the
right.
INPUT
the
by
29
PRINT
3
[4][]
PRINT
the
GOTO
be
to
press
it)
but
paragraph.
Variables
constants
called
'"constants"'
ae
16 PRINT
fixed con-
/
38
the
right
value
of 68
will
method
But
1)
called 'calcula-
is
method
first
always
is
variable according
them,
multiply
8,8
values
input
2
numeric
A5"4";B:
—- shows the result of
18
— repeat
calculation)
and the
''string""
and the
numeric
"MSX"
Af="EASIC"
FRINT
A$
be
is
to
B]
|
|
|

Advertisement

loading