I have read an article which is written by Stephen Settimi in Foxpro Advisor
Aug 2000. In the article, Stephen mentioned making use of a text file,
DEF[inition] file, to hold the variables used by the application. The
application will read the DEF file to extract the variable whenever the
application is launched.
Does any body has some code to parse the variable from a text file ?
The structure of the file is very simple such as like the following,
CONSTANT1 = definition1
CONSTANT2 = definition2
.................
for example, I will call the parser function getdefinition("CONSTANT1") to
get the definition of CONSTANT1.
Matthew