29.03.2016, 20:11
Hola,
Al compilar un GM, me emite este error:
error 021: symbol already defined: "strtok"
їAlguna idea o guнa? A lo mejor tengo que meter un .inc en la carpeta, o algo...
Gracias de antemano.
Al compilar un GM, me emite este error:
error 021: symbol already defined: "strtok"
Код:
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;
}
Gracias de antemano.

