[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

EL question about Input(TrueFalse)



PureBytes Links

Trading Reference Links

I have a question about Inputs of type TrueFalse that seem to be 
acting squirly.

If I have this in my code:
Inputs: TestVar(TrueFalse);
If TestVar then print("testing");

When I have this in amongst my other EL code in a function, EL 
PowerEditor seems to get stuck and says "Verifying...".  I have to 
close the app to get out of it.

But if I do this:
Inputs: TestVar(TrueFalse);
Variables: TestVarNew(False)
TestVarNew = TestVar;
If TestVarNew then print("testing");

This works without any problem.

It also seems like if I get the function to verify, I sometimes I get 
weird results when I use:
If TestVar then print"(testing");
But if I use:
If TestVar=true then print"(testing");
That works fine.

Has anyone else noticed quirks like this?

Cash

"It's a dog eat dog world out there and I'm wearing milkbone underwear"