Re: Comparison of ObjectRefVar

Stephane ALLIZON (sallizon@canal-plus.fr)
Fri, 04 Dec 1998 13:13:40 +0100

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).

Best regards
Stephane ALLIZON

> Hello
>
> this prevents my code fron running - is it a simple syntax problem?
>
> :TestVariable (12340 1 :GObjectRef :IndirectRef 12341)
>
> where as
>
> :TestVariable (1 1 :GInteger :IndirectRef 2)
>
> works just fine
>
> my ObjectRefVars are as follows
>
> {:objectrefvar 12340
> :origvalue :objectref 0
> }
>
> {:objectrefvar 12341
> :origvalue :objectref 0
> }
>
> and have been assigned values as such
>
> :getcellitem (1234 3 12340)
> :SetVariable (("scene1" 12341) :GObjectRef ( 'scene8' 12 ) )
>
> Many thanks in advance
>
> Nick Briggs
> Static 2358 Ltd
> nick@static.co.uk