EricDLegare
05-19-2007, 01:59 AM
Hey!
I'm having troubles with this :S
I'm using two GLOBAL VARIABLES, one holds a BOOLEAN VALUE and one a STRING VALUE ...
When creating a checkbutton I use both the variables to create the checkbutton ( BOOLEAN for checked and STRING for name ) and what I don't understand is that the BOOLEAN works but not the string :D
here is what I mean :
GLOBAL X = "String"
GLOBAL Y = TRUE
Rollout
(
checkbutton chk1 "test" checked:true
checkbutton chk2 X checked: Y
)
so basicly the TRUE transfers on the CHECKED fine, but the string won't fit :D
there is what I tried :sad:
-----------------------------------------------
GLOBAL X = "String"
GLOBAL Y = TRUE
Rollout
(
checkbutton chk1 "test" checked:true
checkbutton chk2 (X as string) checked: Y
)
-----------------------------------------------
GLOBAL X = "String"
GLOBAL Y = TRUE
Rollout
(
checkbutton chk1 "test" checked:true
checkbutton chk2 name:X checked: Y
)
-----------------------------------------------
GLOBAL X = "String"
GLOBAL Y = TRUE
Rollout
(
checkbutton chk1 "test" checked:true
checkbutton chk2 name:(X as string) checked: Y
)
and I keep getting
-- Syntax error: at keyword parameter, expected name
:D :D :D Thanks for your help !
I'm having troubles with this :S
I'm using two GLOBAL VARIABLES, one holds a BOOLEAN VALUE and one a STRING VALUE ...
When creating a checkbutton I use both the variables to create the checkbutton ( BOOLEAN for checked and STRING for name ) and what I don't understand is that the BOOLEAN works but not the string :D
here is what I mean :
GLOBAL X = "String"
GLOBAL Y = TRUE
Rollout
(
checkbutton chk1 "test" checked:true
checkbutton chk2 X checked: Y
)
so basicly the TRUE transfers on the CHECKED fine, but the string won't fit :D
there is what I tried :sad:
-----------------------------------------------
GLOBAL X = "String"
GLOBAL Y = TRUE
Rollout
(
checkbutton chk1 "test" checked:true
checkbutton chk2 (X as string) checked: Y
)
-----------------------------------------------
GLOBAL X = "String"
GLOBAL Y = TRUE
Rollout
(
checkbutton chk1 "test" checked:true
checkbutton chk2 name:X checked: Y
)
-----------------------------------------------
GLOBAL X = "String"
GLOBAL Y = TRUE
Rollout
(
checkbutton chk1 "test" checked:true
checkbutton chk2 name:(X as string) checked: Y
)
and I keep getting
-- Syntax error: at keyword parameter, expected name
:D :D :D Thanks for your help !
