Re: Unconstant constant
- Posted by petelomax Jan 23, 2019
- 1865 views
On phix I'd strongly recommend IupConfig
Otherwise, like that (APP_NAME option), I recommend constructing an appropriate filename from getenv("APPDATA") on windows, or getenv("HOME") on linux, rather than just plonking it in C:\Program Files, that is if you ever plan on letting anyone else install and run it, certainly on anything beyond a bog standard single-user home pc/laptop, otherwise you risk one day running into errors caused by permissions, active_directory, and/or reparse point handling (tip:don't ask).

