Using [ Control "SomeImageName" ] VS [image "SomeImageName"]

Richard Gaskin ambassador at fourthworld.com
Tue Feb 2 22:34:59 EST 2016


Brahmanathaswami wrote:

> Can you look at my earlier post? perhaps I should open up a new thread
>
>  “Best Practices — Passing control reference by variables in scripts”
>
> on preOpenCard
>     put the long id of img "HaLogo" into tHaLogo
> end preOpenCard
>
> #then later
>
> command setStage
>   set the loc of tHALogo to the screenLoc
> end setStage
>
> generates an error
>
> ??

Is tHaLogo declared as a global or script-local somewhere?

-- 
  Richard Gaskin
  Fourth World Systems
  Software Design and Development for Desktop, Mobile, and Web
  ____________________________________________________________
  Ambassador at FourthWorld.com        http://www.FourthWorld.com




More information about the use-livecode mailing list