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.

-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to