
PT-Basic Programming Manual Ver. 1.00 72/143
To enable specific TextBlock.
A%=SETTEXTBLOCK(BlockNo% ,Save%)
A% is an integer variable to be assigned to the result.
Several key arguments as below:
Save flag to save screen (Save%=1) or not
(Save%=0).
To disable specific TextBlock.
BlockNo% is an integer in the range from 1 to 15 indicating
TextBlock number.
To print Text to specific TextBlock.
PRINTTEXTBLOCK
(BlockNo%, Column%, Row%, Str$ ,FontColor%)
PRINTTEXTBLOCK(2,5,5,"Hello",0) „font color is black
Several key arguments as below:
To get the x coordinate of the current TextBlock position.
A% =GETTEXTBLOCKCUR_X(BlockNo %)
PRINT "X=",GETTEXTBLOCKCUR_X(1)
A% is an integer variable to be assigned to the result.
BlockNo% is an integer variable in the range from 0 to 15.
Kommentare zu diesen Handbüchern