if message is "XYZ" then do next step (not working)?
DunbarX at aol.com
DunbarX at aol.com
Mon May 3 13:27:26 EDT 2010
Your handler works for me.
If you step through the script, where does it not go wrong? Sometimes in
debugging I will rewrite even simple "if/then" statements in their expanded
form:
if this then
dotThat
end if
Instead of: if this then doThat.
Because you can place a breakpoint at the "doThat" line to see if the
condition is being tested correctly. If you never reach that line, you can find
the problem more quickly.
I think it is something simple, like a typo.
Craig Newman
More information about the use-livecode
mailing list