Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

List of all settings

Status
Not open for further replies.

Koen Piller

Programmer
Jun 30, 2005
841
NL
Hi,

I would like to produce a list of all present settings, like
on error etc
and also
set alternate etc
do I have to type them or is there a function to accomplish this?

Regards,

Koen
 
Open the debugger, activate the Debugout Window.

Open the options dialog, then close it while pressing SHIFT and all settings are echoed to Debugout.

There was also a way to get the same output into the command window, but no matter what, you can then copy&paste this into some prg to set the same settings as you have them.

Bye, Olaf.
 
DISPLAY STATUS will give you some of those - plus a lot of other things you probably don't need.

The SET() function will give you the state of the SET commands. But you won't be able to do it in a loop You will have to hard-code the argument in each case.

Mike

__________________________________
Mike Lewis (Edinburgh, Scotland)

Visual FoxPro articles, tips, training, consultancy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top