UBI EasyCoder 201 IIE Manuale delle Istruzioni Pagina 216

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 332
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 215
Intermec Fingerprint v7.61 Programmers Reference Manual Ed. 7214
Chapter 2 Program Instructions
RANDOM
Field of Application
Function generating a random integer within a speci ed interval.
Syntax RANDOM(<nexp
1
>,<nexp
2
>)
<nexp
1
> is the rst integer in the interval.
<nexp
2
> is the last integer in the interval.
Remarks
<nexp
1
> <random integer> <nexp
2
>, that is the random integer will be:
Equal to or greater than <nexp
1
>
Equal to or less than <nexp
2
>
Example
The following example will produce ten random integers between 1
and 100:
10 FOR I%=1 TO 10
20 A% = RANDOM (1,100)
30 PRINT A%
40 NEXT I%
RUN
yields for example:
31
45
82
1
13
16
41
77
20
70
Vedere la pagina 215
1 2 ... 211 212 213 214 215 216 217 218 219 220 221 ... 331 332

Commenti su questo manuale

Nessun commento