Sharp MZ-700 Bedienungshandbuch Seite 87

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 109
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 86
89
5.1.1 Substitution Statements
LET
LET
A=X+3
Substitutes sum results
of
numerical variable X and
numerical
data
3 to numerical variable A. LET can be
omitted.
5.1.7 Input/Output and Color Control Statements
COLOR
PRINT
10
CaLOR
.•.
2
20 CaLOR 3.2.7
Changes all screen background color to red.
Changes the color of characters at coordinates (3,2) to
white.
30
CaLOR
4.204.2
Makes the color
of
characters
at
coordinates (4,2) green,
10 PRINT A
?A$
100 PRINT [6.5] " AB
C"
110
PRINT
[A] "DE
F"
120
PRINT
[704]
"G
HI"
200 PRINT
and the background color red.
Displays the content of numerical variable A on the
CRT
display.
Displays the content of string variable A$ on the
CRT
display.
Writes the
"ABC"
string in
yellow on a light blue
background.
Writes the
"DEF"
string
in
yellow
on
a green back-
ground.
Writes the
"OHI"
string in white on a green background.
New line if
PRINT only.
PRINT
USING PRINT
USING"
##
A designation which lines up decimal point positions
by
a
INl'UT
#.##";A
10 INPUT A
20 INPUT A$
fixed decimal point display.
Inputs values relative to variable A from the keyboard.
Inputs strings relative to string variable A$ from the
keyboard.
30 INPUT "VALUE?" Before input from the keyboard, the question string data
;D
VALUE?
is
displayed. The semi-colon
is
used to separate
the string from the variable.
Seitenansicht 86
1 2 ... 82 83 84 85 86 87 88 89 90 91 92 ... 108 109

Kommentare zu diesen Handbüchern

Keine Kommentare