Message 1 of 4
rollout vs functon scope -- function is losing....

Not applicable
02-27-2009
10:37 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
so I have the following error, which I cannot explain.
---------------- faux code follows ----
rollout: rollout1 "rollout 1" pos:blah blah blah
(
button: blah blah
global function1
fn function1 =
(
blah blah blah
)
) -- end rollout1
rollout: rollout2 "rollout 2" pos:blah blah blah
(
button: blah blah
global function2
fn function2 =
(
function1()
)
) -- end rollout2
------------------- end faux code --------------------------
NOW, why does function2 report that function1 is not defined? It cannot see function1's definition????? "Call needs function or Class, got: undefined"
TiA
MB
---------------- faux code follows ----
rollout: rollout1 "rollout 1" pos:blah blah blah
(
button: blah blah
global function1
fn function1 =
(
blah blah blah
)
) -- end rollout1
rollout: rollout2 "rollout 2" pos:blah blah blah
(
button: blah blah
global function2
fn function2 =
(
function1()
)
) -- end rollout2
------------------- end faux code --------------------------
NOW, why does function2 report that function1 is not defined? It cannot see function1's definition????? "Call needs function or Class, got: undefined"
TiA
MB