[@varcontrol]
<声明变量/@newvarInteger>
<查看变量/@viewvarInteger>
<读取变量/@loadvarInteger>
<保存变量/@s呵呵evarInteger>
<增加变量/@calcvarinc>
<减少变量/@calcvardec>
<检查变量是否大于5/@checklarage5>
<检查变量是否小于5/@checksmall5>
<检查变量是否等于5/@checkequal5>
[@calcvarinc]
#If
#Act
Calcvar HUMAN QQQQ + 5
Goto @varcontrol
[@calcvardec]
#If
#Act
Calcvar HUMAN QQQQ - 5
Goto @varcontrol
[@checkequal5]
#If
CHECKVAR HUMAN QQQQ = 5
#Act
SendMSG 7 等于5
Goto @varcontrol
#ElseAct
SendMSG 7 不等于5
Goto @varcontrol
[@checklarage5]
#If
CHECKVAR HUMAN QQQQ > 5
#Act
SendMSG 7 大于5
Goto @varcontrol
#ElseAct
SendMSG 7 小于5
Goto @varcontrol
[@checksmall5]
#If
CHECKVAR HUMAN QQQQ < 5
#Act
SendMSG 7 小于5
Goto @varcontrol
#ElseAct
SendMSG 7 大于5
Goto @varcontrol
[@decInteger]
#Act
DEC QQQQ 1
SendMSG 7 <$HUMAN(QQQQ)>
Goto @varcontrol
[@addInteger]
#Act
INC QQQQ 1
SendMSG 7 <$HUMAN(QQQQ)>
Goto @varcontrol
[@loadvarInteger]
#If
#Act
LOADVAR HUMAN QQQQ VarS呵呵e.txt
SendMSG 7 OK
Goto @varcontrol
[@s呵呵evarInteger]
#If
#Act
SAVEVAR HUMAN QQQQ VarS呵呵e.txt
SendMSG 7 OK
Goto @varcontrol
[@viewvarInteger]
#Act
SendMSG 7 <$HUMAN(QQQQ)>
Goto @varcontrol
[@newvarInteger]
#If
#Act
VAR Integer HUMAN QQQQ
SendMSG 7 OK
Goto @varcontrol
[@viewvarString]
<$HUMAN(QQQS)>