I thought about using an file to store the values in and doing elaborate sorts of things to make it "easier" to update the values, but in truth that is all overkill for what I am trying to do. These are not values that the user would ever want to mess with... things that are currently just constants scattered around the application, like the string for the title bar or the number of times to try doing some low level operation before giving up. Stuff that will probably never change, but is easily forgotten about and lost in the pile of vis. Back in the days of C it was extremely rare to find a constant in my code... all that stuff just got #defined and moved to the tops of the files... and that is sort of what I am hoping for here... something that is not complicated and just collects constants into one place and names them.

Im probably to lazy to do anything about it in the app I am working on right now... just something I am thinking about for the next time around.




George Gatling Applied Technology Division, SFA Inc. Space Physics Simulation Chamber US Naval Research Laboratory 202-404-5405 (phone) 202-767-3553 (fax)

If trees could scream, would we be so cavalier about cutting them down?
We might, if they screamed all the time, for no good reason. --Jack Handy






Reply via email to