[REBOL] Re: Problems using view/new
From: antonr:iinet:au at: 17-Apr-2003 4:05
I think there is room for misunderstanding here,
so I add that Maarten's 'serve function calls
wait in order to wait for network events.
Whenever you call wait, even with none or an empty
block as argument, then view events are also
waited for.
I think Maarten's example should have been more like
this:
view/new layout [button "hello"]
serve ; <- this starts event processing
If you had written this:
view layout [button "hello"] ; <- this starts event processing
serve ; <- this starts event processing
then the server would not be started until the window
was closed.
This is what I think Maarten was pointing out.
Anton Rolls.