PDA

View Full Version : Register



Mark F
October 13th, 2002, 12:55 PM
Try:

reg25 == 1;

Though, as a string register, this is not comparing to a number so you may need:

reg25 == "1";

bri
October 13th, 2002, 12:55 PM
how can I say to girder if register = 1 then..., else if register = 2 then ...

I have made a simple manipulation script :

string reg25;
reg25 = 1

then command : ...
else command : ...

The probleme is that girder send a command without looking at the register so the command is wrong.
I 've probably made a mistake in my manipuilation script but i don't know where.

can someone help me ?

Thanks