InternetClose
- close Internet file handle

File Input/Output functions
(AmiBroker 6.20)


SYNTAX InternetClose( handle )
RETURNS NOTHING
FUNCTION The function closes Internet file handle that was open by InternetOpenURL
EXAMPLE ih = InternetOpenURL( "https://www.quandl.com/api/v3/datasets/SEC/AAPL_SALESREVENUENET_Q.csv?api_key=" );
printf( "AAPL Revenue: " );
if( ih )
{
     while( ( str = InternetReadString( ih ) ) != "" )
     {
         printf( "%s", str );
     }
     InternetClose( ih );
}
SEE ALSO

References:

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

More information:

See updated/extended version on-line.