Author |
|
jeffw_00 Super User
Joined: June 30 2007
Online Status: Offline Posts: 929
|
Posted: September 24 2011 at 22:37 | IP Logged
|
|
|
I set GLOBAL to a string.
then I compare to a local by
JUMP: if({GLOBAL} = ph_getvar_s(1,1),2,1)
but it doesn't like it - evals to !
is there a special way to compare strings?
thx
/j
|
Back to Top |
|
|
JaredM Newbie
Joined: November 04 2007
Online Status: Offline Posts: 36
|
Posted: September 24 2011 at 23:51 | IP Logged
|
|
|
You just need quotes around {GLOBAL}.
Code:
if("{GLOBAL}" = ph_getvar_s(1,1),2,1) |
|
|
|
Back to Top |
|
|
jeffw_00 Super User
Joined: June 30 2007
Online Status: Offline Posts: 929
|
Posted: September 25 2011 at 00:18 | IP Logged
|
|
|
yup
thanks!
|
Back to Top |
|
|