Quote:
Originally Posted by Gammix
I did a quick test and seems like everything works fine. Here test it yourself:
PHP код:
main() { new const file[] = "test.ini";
dini_IntSet(file, "int", 100); dini_FloatSet(file, "flt", 100.0); dini_Set(file, "str", "val_set");
printf("int = %i", dini_Int(file, "int")); printf("flt = %f", dini_Float(file, "flt")); printf("str = %s", dini_Get(file, "str"));
printf("dini_NumKeys = %i", dini_NumKeys(file)); printf("dini_Isset = %i", dini_Isset(file, "str"));
dini_Unset(file, "str"); printf("dini_Isset = %i", dini_Isset(file, "str")); printf("dini_NumKeys = %i", dini_NumKeys(file)); }
|
Can having too many fields prevent it? can i increase any of the #define MAX ones u put?