syntax error - please help - thx
-
Hi,
Can anyone spot what I'm doing wrong here. I get an error that says cannot convert string to bool when I compile the code in fxdreema. Here's the code.
objName="stopRun"+(string)inc;
strStopRun=arrStopRun[inc];if(strStopRun="1") {
setText=CharToString((uchar)checkYes);
setColor=colorUp; font="Wingdings";
} else {font="Arial";} -
@bates
When comparing, use double equal:
if(strStopRun=="1") -
@roar thank you very much
