next up previous contents index
Next: STOP Statement Up: Getting Help Previous: SHOW Command   Contents   Index


WHAT Command

The WHAT statement displays all object names matching a given regular expression. It has three formats:

WHAT;                   // Give help on the "WHAT" command
WHAT,NAME=label;        // Show definition of "label"
WHAT,label;             // Shortcut for the second format
label is an identifier. If it is non-blank, MAD displays the object label in a format similar to the input statement that created the object. Entering WHAT alone displays help on the WHAT command. Examples:

WHAT;
WHAT,NAME=QD;
WHAT,QD;



MAD User Guide, http://wwwslap.cern.ch/mad/