coiin at verizon.net
Sat Dec 5 13:12:13 EST 2009
On Dec 5, 2009, at 12:30 PM, Dave Cragg wrote:
> How would you do the following in Java/C/etc?
> get last item of line 2 of url "http://ichart.finance.yahoo.com/table.csv?s=RBS.L"
> but rather,
> How would you get and display the latest stock price for RBS.L from the internet in Rev/ Java/C/etc?
The significant thing in Rev is that you can get the thing you want in one line. With other languages you have to dispatch a request for the URL, set up a listener for when it's come back, then handle the contents of the event. Doing it that way does make it more asynchronous, you're not halting everything else for the time it takes to get the text back, but it is several more steps to deal with.
More information about the Use-livecode