Y_ini
#1

hey it's my first time using Y_ini, so I tried the first example found in the Y_ini tutorial and suprisingly when I compile the compiler stops working (..has stopped working" message)
pawn Код:
new
    // The name of the file, can be any string variable or literal.
    fileToWrite[] = "mine.INI",
   
    // "INI_Open" returns a variable with tag "INI".
    INI:iniFile = INI_Open(fileToWrite);

//
// y_ini supports tags, that is:
//
//  [tag]
//  key = value
//
INI_SetTag(iniFile, "examples");

// Write an integer value with the key "some_integer" under the current tag:
INI_WriteInt(iniFile, "some_integer", 42);

// Now close the current file:
INI_Close(iniFile);
which I found here
https://sampforum.blast.hk/showthread.php?pid=1138420#pid1138420
I also tried to write my own y_ini code myself but I got the same problem
Reply


Messages In This Thread
Y_ini - by Sarra - 05.08.2014, 18:20
Re: Y_ini - by Champ - 05.08.2014, 19:01
Re: Y_ini - by [XST]O_x - 05.08.2014, 19:05
Re: Y_ini - by Sarra - 05.08.2014, 19:09
Re: Y_ini - by [XST]O_x - 05.08.2014, 19:16
Re: Y_ini - by Sarra - 05.08.2014, 19:21

Forum Jump:


Users browsing this thread: 2 Guest(s)