Argox PA-20 Basic Programming Manual User Manual

Page 42

Advertising
background image

PT-Basic Programming Manual Ver. 1.00

41/143

POWER_ON

Purpose: To determine whether to restart or resume the program upon

powering on.

Syntax: POWER_ON(N%)

Example:

POWER_ON(0) „Resume

Description: N% can be set 0 or 1.

N%

Meaning

0

Resume

1

Reset

RESTART

Purpose: To restart the system.

Syntax: RESTART

Example: ON ESC GOSUB ESC_PRESS

ESC_PRESS:

RESTART

RETURN

Description: This command will terminate the execution of the BASIC

program and restart the system.

SYSTEM_INFORMATION

Purpose: To get information on components.

Syntax: A$=SYSTEM_INFORMATION(index%)

Example: PRINT "Kernel:"+SYSTEM_INFORMATION$(1)

PRINT "BASIC:"+SYSTEM_INFORMATION$(2)

PRINT "SCANNER:"+SYSTEM_INFORMATION$(3)

Description: A$ is a string variable to be assigned to the result.

index% is an integer variable, indicating a specific category

of information.

index%

Meaning

1

Kernel version

2

BASIC version

3

Scanner version

Advertising