If always evaluated as false

Got a problem you cannot solve? Try here.
interloper
Posts: 3
Joined: Thu Nov 02, 2006 8:01 pm

If always evaluated as false

Postby interloper » Fri Nov 03, 2006 3:41 pm

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.

interloper
Posts: 3
Joined: Thu Nov 02, 2006 8:01 pm

If always evaluated as false

Postby interloper » Fri Nov 03, 2006 8:16 pm

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.


Return to “Technical Support”

Who is online

Users browsing this forum: Bing [Bot] and 28 guests