------=_NextPart_000_0021_01BE10AC.A7847E10
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
I am trying to test the value of one IntegerVariable against another as =
shown in the sample below.=20
This scene will not load with the line ":TestVariable (1 2 :IndirectRef =
2)", however if I replace this line
with the hardcoded ":TestVariable (1 2 :GInteger 0)" then everything =
works just fine.=20
=20
I also get a similar problem with ":SetVariable (2 :IndirectRef 1)" =
which I guess is probably down to the same issue.
=20
{:scene ('scene1' 0)
:Items (
{:IntegerVar=20
1=20
:OrigValue 0
}
=20
{:IntegerVar=20
2=20
:OrigValue 0
}
=20
{:Link
3
:InitiallyActive true
:EventSource 3
:EventType IsRunning
:EventData True
:LinkEffect
(
:TestVariable (1 2 :IndirectRef 2)
)
}
=20
{:Link
3
:InitiallyActive true
:EventSource 1
:EventType TestEvent
:EventData True
:LinkEffect
(
:SetData(4 "True")
)
}
=20
{:Link
3
:InitiallyActive true
:EventSource 1
:EventType TestEvent
:EventData false
:LinkEffect
(
:SetData(4 "False")
)
}
=20
{:text 4
:OrigContent "..."
:origboxsize 500 20
:origposition 10 10
:origfont "helvetica"
:fontattributes "style=3Dbold,size=3D15"
:textcolour '#000000'=20
:characterset 1
}
=20
)
=20
:inputeventreg 2=20
:SceneCS 720 576
}
=20
Thank in advance for any clarification.
=20
Nick Briggs
Static 2358 ltd
=20
------=_NextPart_000_0021_01BE10AC.A7847E10
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">