UBI EasyCoder 201 IIE Manuale delle Istruzioni Pagina 213

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 332
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 212
Intermec Fingerprint v7.61 Programmers Reference Manual Ed. 7 211
Chapter 2 Program Instructions
PRTXT (PT)
Field of Application
Statement for providing the input data for a text eld.
Syntax PRTXT|PT<<nexp>|<sexp>>[;<<nexp>|<sexp>>...][;]
<<nexp>|<sexp>> speci es one line of text (max. 300 characters)
Remarks
A text eld consists of one line of text. The text eld must be de ned in
regard of FONT or FONTD and may be further de ned and positioned by
DIR, ALIGN, MAG, PRPOS, INVIMAGE, or NORIMAGE statements or
their respective default values.
Two or more expressions can be combined to form a text line. They
must be separated by semicolons (;) and will be printed adjacently.
Plus signs can also be used for the same purpose, but only between
string expressions.
String constants must be enclosed by quotation marks, whereas numeric
constants or any kind of variables must not.
Examples
Programming and printing a line of text:
10 FONT "Swiss 721 BT"
20 PRPOS 30,300
30 PRTXT "How do you do?"
40 PRINTFEED
RUN
Several string constants and string variables can be combined into one line
of text by the use of plus signs or semicolons:
10 FONT "Swiss 721 BT"
20 PRPOS 30,300
30 PRTXT "SUN";"SHINE"
40 A$="MOON"
50 B$="LIGHT"
60 PRPOS 30,200
70 PRTXT A$+B$
80 PRINTFEED
RUN
yields a label with the text:
SUNSHINE
MOONLIGHT
Vedere la pagina 212
1 2 ... 208 209 210 211 212 213 214 215 216 217 218 ... 331 332

Commenti su questo manuale

Nessun commento