CategoryHowTo
Store and Read Global Parameters
Often we have to get global parameters changed only by the developer. Traditionally we store it in a parameter file and link. The disadvantage are links in many programs and partly locking problems.
Solution
- Build a file with two fields: key and value.
- Fill the records only as developer
- Write a programme that read this file
Load at runtime start (application Properties=start program)
Record Main
Select Real key (A)
Select Real value (B)
Records Suffix
To read the constants at programmes use:
... to be continued
Categories
CategoryHowTo
There are no comments on this page. [Add comment]