Argox PA-20 Basic Programming Manual Manuale Utente Pagina 73

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 143
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 72
PT-Basic Programming Manual Ver. 1.00 72/143
SETTEXTBLOCK
Purpose
To enable specific TextBlock.
Syntax
A%=SETTEXTBLOCK(BlockNo% ,Save%)
Example
A%=SETTEXTBLOCK(1,0)
Description
A% is an integer variable to be assigned to the result.
A%
Meaning
0
Set TextBlock fail
1
Set TextBlock OK
Several key arguments as below:
BlockNo%
TextBlock number(1~15)
Save%
Save flag to save screen (Save%=1) or not
(Save%=0).
RESETTEXTBLOCK
Purpose
To disable specific TextBlock.
Syntax
RESETTEXTBLOCK(BlockNo%)
Example
RESETTEXTBLOCK(1)
Description
BlockNo% is an integer in the range from 1 to 15 indicating
TextBlock number.
PRINTTEXTBLOCK
Purpose
To print Text to specific TextBlock.
Syntax
PRINTTEXTBLOCK
(BlockNo%, Column%, Row%, Str$ ,FontColor%)
Example
PRINTTEXTBLOCK(2,5,5,"Hello",0) „font color is black
Description
Several key arguments as below:
BlockNo%
TextBlock number(0~15)
Column%
TextBlock column number.
Row%
TextBlock row number.
Str$
Text data.
FontColor %
Text color.
GETTEXTBLOCKCUR_X
Purpose
To get the x coordinate of the current TextBlock position.
Syntax
A% =GETTEXTBLOCKCUR_X(BlockNo %)
Example
PRINT "X=",GETTEXTBLOCKCUR_X(1)
Description
A% is an integer variable to be assigned to the result.
BlockNo% is an integer variable in the range from 0 to 15.
Vedere la pagina 72
1 2 ... 68 69 70 71 72 73 74 75 76 77 78 ... 142 143

Commenti su questo manuale

Nessun commento