Re: Comparison of ObjectRefVar

Stephane ALLIZON (sallizon@canal-plus.fr)
Fri, 04 Dec 1998 19:24:03 +0100

Ian Medland wrote:

> Stephane ALLIZON wrote:
> >
> > Nick,
> > You may have a problem of reference accross Scene.
> > My interpretation of
> >
> > > :getcellitem (1234 3 12340)
> > > :SetVariable (("scene1" 12341) :GObjectRef ( 'scene8' 12 ) )
> > >
> >
> > is that you are in a Scene object named "Scene8" and you want to set a
> > Variable defined inside the "Scene1" object. This is impossible because
> > only one scene is active at a time. Do save value across scenes you must
> > defined variable inside Application object (Shared Variable).
>
> I would read that as seting variable ("scene1" 12341) with the reference
> ('scene8' 12). Now as long as scene1 is active this should work - the
> reference does not need to of an object that exists/in scope - in only
> has to be syntactically correct, which ('scene8' 12) is.
>

You are right but if you add the line :
> > :TestVariable (12340 1 :GObjectRef :IndirectRef 12341)
This test could never generate a "True" result. That was the initial question,
isn't it ?