problem:
I have serial port functions that finaly works well in non gui way.

When I add layouts then the "wait serial-port" stops and waits on an 
event of view/layout.

I solved some similar problem by clearing wait list and restoring it 
- but that does not help in this case.

I can partialy solve the problem by replacing in my serial port 
functions 
wait serial-port
with
wait [ 1 serial-port ]
But then I can get not right port in some cases.

Are the only way to separate waiting on serial port and other 
port(s) is by checking am I getting the right port:
forever [
        port: wait [sms-port 0.5]  ; half-second timeout
        if port = sms-port [ handle sms-port ... ]
]

Loking forward for your replay 
&
Thanks in advance

Janeks
-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.

Reply via email to