Object Referencing in LC 9.0.0

Bob Sneidar bobsneidar at iotecdigital.com
Tue May 29 11:26:47 EDT 2018


I cannot make heads nor tails of your post. The asterisks and words running together make it impossible to read. 

Bob S


> On May 26, 2018, at 13:34 , Michael Doub via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> 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
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list