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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

List all present variables?? 3

Status
Not open for further replies.

mike777

Programmer
Jun 3, 2000
387
0
0
US
Hello.
Is there a way to print all existing variables to the screen??
I suppose there are dozens of system variables (?), but I would mainly be interested in seeing all the variables sitting out there that may need to be released, etc.
Thanking you in advance.
-Mike
 
Do you mean what you will see if you issue a DISPLAY MEMORY or LIST MEMORY command?
 
You can see all (non-system) variables with :
CLEAR
DISPLAY MEMORY

You can send to your printer or a file with :
DISPLAY MEMORY TO PRINTER
DISPLAY MEMORY TO FILE <filename.ext>

You can constrain the variables listed using wildcards (*/?) like:
DISPLAY MEMORY LIKE lc*
 
Oops.... my mistake. DISP MEMO does list the system variables and I don't see an easy way to exclude them.
 
Hi

If the intention is to release all the memory vaiables..
CLEAR MEMORY
This will release all the public, private and local memory variables defines inclusive of arrays.. and will not disturb any system memory variables. :)
ramani :)
(Subramanian.G),FoxAcc, ramani_g@yahoo.com

 
Try this:

DISPLAY MEMORY LIKE *

That excludes the system variables for me.
Dave S.
 
Dave,

DISPLAY MEMORY LIKE *

Nice, I never knew that. Slighthaze = NULL
 
Yeah, thanks Dave. I like that DISP MEMO LIKE * - I get tired of seeing all the sys variables.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top