Argox PA-20 Basic Programming Manual User Manual
Page 43

PT-Basic Programming Manual Ver. 1.00
42/143
Purpose: To shut down the system.
Syntax: SYS_SUSPEND
Example: SYS_SUSPEND
Description: This command will shut down the system.
Purpose: To check the agency ID is correct or not.
Syntax: A%=CHECK_AID(S1$ , S2$)
Example: IF CHECK_AID("6421","08724") THEN
PRINT "AID OK..."
ELSE
PRINT "AID NG..."
END IF
WHILE INKEY$=""
WEND
Description: A% is an integer variable to be assigned to the result.
A%
Meaning
0
AID not
correct.
1
AID correct.
S1$ is a string variable, indicating the UserID that needs 4~8
characters.
S2$ is a string variable, indicating the password that needs
4~8 characters.