How to parse a complex HTML page in Zorro?

Posted By: Tamas

How to parse a complex HTML page in Zorro? - 11/06/17 23:57

It just looks very difficult in c-lite, what would be my best option?
I bacsically have a file downloaded from a website (with http_transfer) and would like to find values in those file which I would use in indicators.
Posted By: jcl

Re: How to parse a complex HTML page in Zorro? - 11/07/17 09:15

The usual way for parsing numbers out of a website is identifying the text in the HTM source immediately before the number you want. Then do a text search with strstr, and get the subsequent number with atoi or atof.
© 2024 lite-C Forums