RMRK is retiring.
Server is paid up for the rest of 2026, but the forum may go after that. See here for more information. Please archive or save anything you would like to keep before 2027.
Main Menu
  • Welcome to The RPG Maker Resource Kit.

[REQUEST] Load key in section from an INI FILE

Started by rendy1287, February 09, 2009, 04:21:08 AM

0 Members and 1 Guest are viewing this topic.

rendy1287

could you create a simple class to load variable from ini file, this is to load key value from the section in that ini file...

for example:
Quote
# ini file
[section]
key=value
int=5

[another]
game=rmvx
web=rmrk.net

i want to load the value "rmrk.net" from "web" key in "another" section
and also to load value 5 (this is integer/real) from "int" key in "section" section

thanks very much....
haallloooo...