UBI EasyCoder 201 IIE Manuale delle Istruzioni Pagina 253

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 332
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 252
Intermec Fingerprint v7.61 Programmers Reference Manual Ed. 7 251
Chapter 2 Program Instructions
STRING$
Field of Application
Function repeatedly returning the character of a speci ed ASCII value,
or the rst character in a speci ed string.
Syntax STRING$(<nexp
1
>,<<nexp
2
>|<sexp>>)
<nexp
1
> is the number of times the speci ed character should
be repeated.
<nexp
2
> is the ASCII decimal code of the character to be repeated.
<sexp> is a string expression, from which the rst character will
be repeated.
Remarks
The character to be repeated is speci ed either by its ASCII decimal code
according to the selected character set (see NASC), or as the rst character
in a speci ed string expression.
Example
In this example, both ways of using STRING$ are illustrated. The character
* is ASCII 42 decimal:
10 A$="*INTERMEC*"
20 LEADING$ = STRING$(10,42)
30 TRAILING$ = STRING$(10,A$)
40 PRINT LEADING$; A$; TRAILING$
RUN
yields:
***********INTERMEC***********
Vedere la pagina 252
1 2 ... 248 249 250 251 252 253 254 255 256 257 258 ... 331 332

Commenti su questo manuale

Nessun commento