- opens Internet web resource (URL)

File Input/Output functions
(AmiBroker 6.20)

SYNTAX InternetOpenURL(''http://url_to_your_web_resource'')
FUNCTION The function opens specified URL and returns a special file handle to be used by InternetReadString/InternetClose functions. It allows to open any web page or REST API service.
EXAMPLE ih = InternetOpenURL( "" );
printf( "AAPL Revenue: " );
if( ih )
     while( ( str = InternetReadString( ih ) ) != "" )
         printf( "%s", str );
     InternetClose( ih );
SEE ALSO InternetClose() function


The InternetOpenURL function is used in the following formulas in AFL on-line library:

More information:

See updated/extended version on-line.