Jump to content

Configuration file?


tom13
 Share

Recommended Posts

I made a program that has variables as configuration. So for example the variable $time determines howmany milliseconds it takes to exit:

Assign("time", "1000")

Now I want to have a user friendly interface that lets the user change 1000 into something else and that this new amount is saved. Should I do this with a XML file? If so, how do I let the .exe file get the variable out of the .xml file and how do I make a configuration UI in which you can change the variables in the XML file?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...