[REBOL] Re: Newbie: Help with image buttons (View)
From: kimm2:mcmaster:ca at: 28-Sep-2002 12:32
Currently the entire program is structured as follows:
process_msg: func [var1 var2][
...
foreach... [
if/else ... [
...
]
]
return x
]
layers: func [var1 var2][
...
return x
]
cellphone: layout [
...
image left_button [
output1: layers var1 var2
...
if flag == 1 [
output2: process_msg var1 var2
]
]
...
]
view cellphone
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
With "flag = 0", everything seems to work fine.
When the flag is changed to "1", the error arises when the "foreach"
loop within the "process_msg" function is called.