How to load Strings in Y_INI ?
#4

Quote:
Originally Posted by ******
Посмотреть сообщение
10)
  • Code
pawn Код:
public DoRead(name[], value[])
{
    INI_String("key", gValue); // Error line.
}
  • Problem
Код:
<path>\errors.pwn(12) : error 017: undefined symbol "INI_String"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
  • Solution
"INI_String" DOES exist, it just gives an unusual error when the last parameter is missed off. You must call it with the destination length.

pawn Код:
public DoRead(name[], value[])
{
    INI_String("key", gValue, sizeof (gValue));
}
4char
Reply


Messages In This Thread
How to load Strings in Y_INI ? - by AnonScripter - 15.03.2014, 11:49
Re: How to load Strings in Y_INI ? - by MythicalMarauder - 15.03.2014, 12:05
Re: How to load Strings in Y_INI ? - by AnonScripter - 15.03.2014, 12:15
Re: How to load Strings in Y_INI ? - by tyler12 - 15.03.2014, 12:17
Re: How to load Strings in Y_INI ? - by AnonScripter - 15.03.2014, 12:30
Re : How to load Strings in Y_INI ? - by Golimad - 15.03.2014, 12:35
Re: How to load Strings in Y_INI ? - by AnonScripter - 15.03.2014, 12:43

Forum Jump:


Users browsing this thread: 1 Guest(s)