beautypg.com

Argox PA-20 Basic Programming Manual User Manual

Page 67

background image

PT-Basic Programming Manual Ver. 1.00

66/143

CLS

Purpose: To clear the activated TextBlock.

Syntax: CLS

Example: CLS

Description: After executing this command, whatever being shown on the

LCD will be erased and the cursor will be moved to (0,0).

SHOW_IMAGE

Purpose: To put a rectangular bitmap in the activated TextBlock.

Syntax: SHOW_IMAGE(left% , top% , width% , height% , path$)

Example: SHOW_IMAGE(0,0,300,300,"d:\PROGRAM\test.bmp")

Description: Several key argument as below:

left %

Fill from the start point of X-axis (pixel).

top %

Fill from the start point of Y-axis (pixel).

width%

Fill the width from the start point (pixel).

height%

Fill the height from the start point (pixel).

path$

Bitmap file path (Must be on Disk D).

CLR_EOL

Purpose: To clear from where the cursor is to the end of the line. The

cursor position is not affected after the operation.

Syntax: CLR_EOL

Example: PRINT "TEST BASIC"

LOCATE 3,0

CLR_EOL

Description: The CLR_EOL command clears from where the cursor is to

the end of the line and then moves the cursor to the original

place.