DEFAULTS

From ICE Enterprises
Jump to navigation Jump to search

display the dictionary entry of the command or commands

<name>   - name of the command to show dictionary entry for
<option> - option tree to show dictionary entries for
<type>   - command type to show dictionary entries of I=intrinsic, P=primitive
           or M=macro

  +-------------------------------------------------------------------------+
  | NOTE: Prior to NeXtMidas 2.3.0 this command was named DEFAULT (no 's'). |
  |       The name was changed to match X-Midas usage. Since the command    |
  |       abbreviation is identical there should be little or no issues     |
  |       for users who use either 'DEFA' or 'DEFAULT'.                     |
  +-------------------------------------------------------------------------+

This intrinsic scans the dictionary in the current NeXtMidas session and 
returns the dictionary entries that match the <name>, <option>, and <type> 
entered.  If any of these parameters are not provided then all dictionary 
entries matching that field in are returned.

The format of each dictionary entry is a series of comma delimited fields:
  <name>;<option>:<n>,<type>,<args[+]>,<name1>=<def1>,...,<nameN>=<defaultN>


Examples:
  A primitive command with at least 3 or more arguments, empty defaults:
     nM> default explain
     INFO: EXP*LAIN;SYS        I,2     ,NAME=EXPLAIN,SECTION=,

SEE ALSO: UPDATE, MENU, EXPLAIN