How to go through all the rows in file ?
#2

pawn Код:
new File:file;
file=fopen("YourFile.txt", io_read);
new string[128];
while(fread(file, string))  // Loop through each line in the file
{
    //the row is stored in 'string', do whatever you want to do with it.
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)