I'd like to set up a web server in my app which requires a forever loop. The wait
s in the loop allow the GUI to keep processing interface events.
But if I start the loop, then I can't exit from it to start the GUI.
And if I'm in the GUI already, then although I can use a button to get the user to start the web server, I'd like to do this automatically.
I tried in RebGUI attaching the web server code to a button and then:
start: button "Start" [ forever [ .. web server code ... ] ]
and later on start using
start/action/on-click start
but that doesn't work.