General information
Category:
Coding, syntax & commands
Worked great. Thanks!
********************
>Want to have the ability to turn on and off a feature. What is an easy way to have a 1 char code read into my MAIN to use int an IF statement. I have a config.fpw, could i use that?
>
>Thanks
>
>Brenda
Sure you can add your own Items to config.fpw because foxpro will ignore any lines with unknown keywords.
For example,
Myflag=YES
I included a function that I wrote awhile ago that lets you get value for specified Item.
lcVal = GetCfgItem("Myflag") will return 'YES' if you have Myflag=YES in config.fpw
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only