xmltext = tcp.httpReadUrl ("http://scripting.com/rss.xml")
That line of code returns the XML contents of my feed, in UserTalk, the language built into Frontier.
The interpreter makes the procedure call, and when it returns, the variable xmltext contains the contents of the feed. When hello is called, it can depend on xmltext having been set and processed.
It never occurred to me that any language could work any other way.
Looks pretty similar, until you realize that the hello call will execute before xmltext is processed. How do you wait for the text to be read? Good question! There isn't really a good answer.
This means that some things are impossibly difficult to do in the browser that could be done in another language that imho worked more reasonably.
Unless I'm missing something obvious, which is why I'm writing this post (but I don't think I am).