A tag mismatch
#3

This should somehow give you an idea,

pawn Код:
new line[128]; //A string a 128 string cell (depending on the size of your file, change it)
    new File:filehandle = fopen("" /* << .txt file location/name */, io_read); // this will open the file
    while(fread(filehandle, line)) // This will read the file
    {
        // Your code here
    }
    fclose(filehandle); // Closes the file
Maybe you forgot the File: in the filehandle variable. It will be easier if you can give more code.
Reply


Messages In This Thread
A tag mismatch - by thefatshizms - 12.04.2013, 17:46
Re: A tag mismatch - by KingHual - 12.04.2013, 17:54
Re: A tag mismatch - by FunnyBear - 12.04.2013, 17:56
Re: A tag mismatch - by thefatshizms - 12.04.2013, 17:57
Re: A tag mismatch - by KingHual - 12.04.2013, 17:58
Re: A tag mismatch - by FunnyBear - 12.04.2013, 17:59
Re: A tag mismatch - by thefatshizms - 12.04.2013, 18:00

Forum Jump:


Users browsing this thread: 1 Guest(s)