Hi
Dan - how about something like this?
fh
= fopen( "C:\\Program
Files\\AmiBroker\\LookupData\\" + Symbol
+ ".csv ", "r");
StringFound =
0;
if( fh )
{
while( ! feof( fh ) AND NOT StringFound )
{
CurRow
= fgets( fh );
if (StrExtract(CurRow, 0) == "YHEDDate")
{
sDateString = StrExtract(CurRow, 1);
StringFound = 1;
}
}
fclose( fh );
}
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
For other support material please check also:
http://www.amibroker.com/support.html
SPONSORED LINKS
YAHOO! GROUPS LINKS