LCB: Complex statement help needed in LCB

Stephen MacLean smaclean at madmansoft.com
Tue Mar 1 15:44:37 EST 2016


Hi All,

I’m looking for some help on complex statements in LCB.

I’m trying to take a script statement like this:

if (char x of tCardNum)*2 > 9 then


into the equivalent statement in LCB.

While it will compile fine, calling the function that contains the code above with give the dreaded error :
execution error at line 2 (extension: error occured with domain) near "runtime", char 8

In the LC debugger.

tCardNum is defined as a variable of type “any”

Thanks,

Steve MacLean


More information about the Use-livecode mailing list