If always evaluated as false
Posted: Fri Nov 03, 2006 3:41 pm
by interloper
What would make an IF statement always seem to evaluate to False? I can watch the variable and it has the proper value and should evaluate to true and the body of the if statement should execute. It just doesn't and skips over it. I see this both when running under the debugger and not.
the interloper.
If always evaluated as false
Posted: Fri Nov 03, 2006 8:16 pm
by interloper
I found out what the problem was. Apparently when I copied some script files around, I didn't realize that the internal format included some secret sauce that IA used internally. All I had to do was to select all the MSICode and cut and paste it back in. These internal codes are then regenerated and all is now well.
The moral of the story is that if you're wanting to copy a script, don't just copy the .mia file. Create a new .mia file and copy the original script code from the source and paste it into the destination.