Remote Processing Coorporation RPC-320 Dokumentacja Strona 144

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 186
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 143
Commands - 114
STR$
String Function
SYNTAX: n$ = STR$(m)
PURPOSE: To convert a number to a string.
REMARKS: For positive numbers, the string generated by STR$ has a leading blank. See the VAL function for
its complement.
RELATED: ASC, CHR$, VAL
EXAMPLE: 10 A$=STR$(3.14159)
20 PRINT "PI=";A$
RUN
PI=3.14159
10 A=8
20 IF STR$(A) <> " 8" THEN END
30 PRINT "OK"
NOTE: In this case a space is required in " 8" since all positive numbers are printed with a leading
space.
ERROR: none
Przeglądanie stron 143
1 2 ... 139 140 141 142 143 144 145 146 147 148 149 ... 185 186

Komentarze do niniejszej Instrukcji

Brak uwag