UBI EasyCoder 201 IIE Manuale delle Istruzioni Pagina 77

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 332
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 76
Intermec Fingerprint v7.61 Programmers Reference Manual Ed. 7 75
Chapter 2 Program Instructions
END
Field of Application
Statement ending the execution of the current program or subroutine
and closing all OPENed les and devices.
Syntax END
Remarks
END can be placed anywhere in a program, but is usually placed at the
end. It is also useful for separating the main program from possible
subroutines with higher line numbers. It is possible to issue several END
statements in the same program.
Example
A part of a program, which produces xed line-spacing, may look this way:
10 FONT"Swiss 721 BT"
20 X%=300:Y%=350
30 INPUT A$
40 PRPOS X%,Y%
50 PRTXT A$
60 Y%=Y%-50
70 IF Y%>=50 GOTO 30
80 PRINTFEED
90 END
The Y-coordinate will be decremented by 50 dots for each new line until it
reaches the value 50. The END statement terminates the program.
Vedere la pagina 76
1 2 ... 72 73 74 75 76 77 78 79 80 81 82 ... 331 332

Commenti su questo manuale

Nessun commento