RA hRA;
string(128) sLine;
int i,iLines;
{
hRA = Create_RA(ÃÂâÃÂÃÂÃÂÃÂtest.txtÃÂâÃÂÃÂÃÂÃÂ"test.txt"); // create handle to the file ÃÂâÃÂÃÂÃÂÃÂtest.txtÃÂâÃÂÃÂÃÂÃÂ"test.txt"
iLines = iLen_RA(hRA); // get the number of lines in the file
for (i=0;i<iLines;i++)
{ // go through every line
iGets_RA(hRA,sLine); // read the next line, ignore return value
DisplayMessage_SYS(ÃÂâÃÂÃÂÃÂÃÂtest.txtÃÂâÃÂÃÂÃÂÃÂ"test.txt",sLine); // display the line
}
Destroy_RA(hRA); // destroy the handle to the file
} |