UBI EasyCoder 201 IIE Manuel d'instructions Page 201

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 332
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 200
Intermec Fingerprint v7.61 Programmers Reference Manual Ed. 7 199
Chapter 2 Program Instructions
PRINT (?)
Field of Application
Statement for printing data to the standard OUT channel.
Syntax PRINT|?[<<nexp>|<sexp>>[<,|;><<nexp>|<sexp>>...][;]]
<<nexp>|<sexp>> are string or numeric expressions, which will be printed to
the standard OUT channel.
Remarks
If no expressions are speci ed after the PRINT statement, it will yield a
blank line. If one or more expressions are listed, the expression(s) will
be processed and the resulting values will be presented on standard OUT
channel (see SETSTDIO statement), for example usually on the screen of the
host. The shorthand form of PRINT is a question mark.
Do not confuse the PRINT statement with the PRINTFEED statement.
Each line is divided into zones of 10 character positions each. These zones
can be used for positioning the values:
A comma sign (,) between the expressions causes next value to be printed
at the beginning of next zone.
A semicolon sign (;) between the expressions causes next value to be
printed immediately after the last value.
A plus sign (+) between two string expressions also causes next value to
be printed immediately after the last value. (Plus signs cannot be used
between numeric expressions.)
If the list of expressions is terminated by a semicolon, the next PRINT
statement will be added on the same line. Otherwise, a carriage
return is performed at the end of the line. If the printed line is wider
than the screen, the software will automatically wrap to a new line
and go on printing.
Printed numbers are always followed by a space character.
Printed negative numbers are preceded by a minus sign.
Example
10 LET X%=10
20 LET A$="A"
30 PRINT X%;X%+1,X%+5;X%-25
40 PRINT A$+A$;A$,A$
50 PRINT X%;
60 ? "PIECES"
RUN
yields:
10 11 15 -15
AAA A
10 PIECES
Vue de la page 200
1 2 ... 196 197 198 199 200 201 202 203 204 205 206 ... 331 332

Commentaires sur ces manuels

Pas de commentaire