Object Referencing in LC 9.0.0

Michael Doub mikedoub at gmail.com
Sat May 26 16:34:16 EDT 2018


Can someone using 9.0.0 help me out?

This used to work in LC 7 but now generates an error on the second line 
(*put*thelongidofobjRef intot1).  What is the new correct syntax?   This 
popped up in the MasterLibrary.

-= Thanks
       Mike


*on*seSetObjectState objRef, objState*
    put*thelongidofobjRef intot1 *
    put*thelongidofbtn"Lib"ofcd"LibMgr"ofstack"MasterLibrary"intot2*
    if* t1 = t2 andobjState = "applied"*then**
        send*"updateMasterIndex"tocd"LibMgr"ofstack"MasterLibrary"in1ticks*
    end* *if**
    pass*seSetObjectState*
end*seSetObjectState




More information about the Use-livecode mailing list