有大俠會(huì)EVIEW觸摸屏的宏指令語(yǔ)法嗎?請(qǐng)教以下宏指令是什么用意?
Macro_Command main()
int py,pm,pd,sy,sm,sd,p1,p2
bool a=True,b=False
GetData(py ,RW_Bcdplc ,60005,1)
GetData(pm ,RW_Bcdplc ,60004,1)
GetData(pd ,RW_Bcdplc ,60003,1)
GetData(sy ,LW_Bcdplc ,500,1)
GetData(sm ,LW_Bcdplc ,501,1)
GetData(sd ,LW_Bcdplc ,502,1)
If sy==py And sm==pm And sd>pd Then
SetData(a ,M_Binplc ,8034,1)
Else If sy==py And sm>pm Then
SetData(a ,M_Binplc ,8034,1)
Else If sy>py Then
SetData(a ,M_Binplc ,8034,1)
End If
End Macro_Command 請(qǐng)大俠指點(diǎn)。[ 此帖被孤舟在2010-03-05 12:36重新編輯 ]