Remote-processing CAMBASIC Manuale Utente Pagina 160

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 208
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 159
Commands - 127
STR$
String Function
SYNTAX: n$ = STR$(m)
PURPOSE: To convert a number to a string.
REMARK S: For positive numbers, the string generated by STR$ has a leading blank. See the VAL function for
its complem ent.
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
Vedere la pagina 159
1 2 ... 155 156 157 158 159 160 161 162 163 164 165 ... 207 208

Commenti su questo manuale

Nessun commento