有大俠會EVIEW觸摸屏的宏指令語法嗎?請教以下宏指令是什么用意?
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 請大俠指點。[ 此帖被孤舟在2010-03-05 12:36重新編輯 ]