News:

Function Finder  Find all the functions within source code files

Main Menu

Ini Files

Started by stratum, September 29, 2005, 10:13:12 AM

Previous topic - Next topic

stratum

Hello,

The function IniInteger gives an error

iniinteger "SuDoKu.ini", "OPTIONS", "EASY", optEasy

gives an error equal sign expected.

There are no examples, so please any help appriciated

Theo

kevin

#1
have you included the library ?


ie.



#include "inifiles.pba"
iniinteger "SuDoKu.ini", "OPTIONS", "EASY", optEasy




You can examine the libs in the playbasic/slibs folder..   After looking at the Help, your right it's seriously missing some examples to make this more obvious.. :(

stratum

Aha, which library, as I said there is no documentation about this at all

Cheers

Theo

stratum

Quotehave you included the library ?

And how do I include a library anyway.
BTW I get also an error if I call the helpfile of the IDE

Cheers

Theo

stratum

Quotehave you included the library ?
ie.



#include "inifiles.pba"
iniinteger "SuDoKu.ini", "OPTIONS", "EASY", optEasy


You can examine the libs in the playbasic/slibs folder..   After looking at the Help, your right it's seriously missing some examples to ake this more obvious.. :(

Thanks it works!

Theo

kevin

#5
QuoteBTW I get also an error if I call the helpfile of the IDE

Yes, due to a mix up while building PB1.088 (my fault!) the IDE help wasn't included..  :(

There's thread around here someplace that has a version of them attached to it from memory.