INCLUDE problem
#2

its a function
pawn Код:
strtok(const string[], &index)
{
    new length = strlen(string);
    while ((index < length) && (string[index] <= ' '))
    {
        index++;
    }
 
    new offset = index;
    new result[20];
    while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1)))
    {
        result[index - offset] = string[index];
        index++;
    }
    result[index - offset] = EOS;
    return result;
}
And you have variables missing
Reply


Messages In This Thread
INCLUDE problem - by Stgnature - 01.03.2014, 21:08
Re: INCLUDE problem - by park4bmx - 01.03.2014, 21:13

Forum Jump:


Users browsing this thread: 1 Guest(s)