I have to modify a gate value on a touchscreen.
Is there a code that, every time you press a button, the gate value increases with 1?
modify a gate value
Re: modify a gate value
Yes, use this code:
Function void Plus()
string GateName = "Test";
int GateNId = 1;
SetNumGateValue(GateName, GateNId, GetNumGateValue(GateName, GateNId) + 1);
end
Best regards
Function void Plus()
string GateName = "Test";
int GateNId = 1;
SetNumGateValue(GateName, GateNId, GetNumGateValue(GateName, GateNId) + 1);
end
Best regards