<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.ice-online.com/index.php?action=history&amp;feed=atom&amp;title=PATH</id>
	<title>PATH - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.ice-online.com/index.php?action=history&amp;feed=atom&amp;title=PATH"/>
	<link rel="alternate" type="text/html" href="https://wiki.ice-online.com/index.php?title=PATH&amp;action=history"/>
	<updated>2026-04-09T20:40:02Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.1</generator>
	<entry>
		<id>https://wiki.ice-online.com/index.php?title=PATH&amp;diff=826&amp;oldid=prev</id>
		<title>ConvertBot: Configures dictionary to resemble hierarchical search path</title>
		<link rel="alternate" type="text/html" href="https://wiki.ice-online.com/index.php?title=PATH&amp;diff=826&amp;oldid=prev"/>
		<updated>2020-04-27T22:05:09Z</updated>

		<summary type="html">&lt;p&gt;Configures dictionary to resemble hierarchical search path&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Configures dictionary to resemble hierarchical search path&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;FUNC&amp;gt;       - SHOW, SET, GET, ADD, ADD+, REMove, REDO, PUT, +, -  [DEF=SHOW]&lt;br /&gt;
&amp;lt;option 1:N&amp;gt; - Option or space separated list of options&lt;br /&gt;
&amp;lt;resname&amp;gt;    - Result name for GET function.&lt;br /&gt;
&lt;br /&gt;
This command is a way of emulating the behavior of a hierarchical search path&lt;br /&gt;
with the option-driven configuration control.  The options are listed from left&lt;br /&gt;
to right with the leftmost option taking precedence over those to the right.&lt;br /&gt;
&lt;br /&gt;
Functions:&lt;br /&gt;
  PATH GET &amp;lt;option&amp;gt; &amp;lt;resname&amp;gt;&lt;br /&gt;
    Gets the path for &amp;lt;option&amp;gt; and places it in the result &amp;lt;resname&amp;gt;.&lt;br /&gt;
    If no &amp;lt;resname&amp;gt; the path is printed to the screen.&lt;br /&gt;
&lt;br /&gt;
  PATH SET &amp;lt;option1&amp;gt; &amp;lt;option2&amp;gt; ... &amp;lt;optionN&amp;gt;&lt;br /&gt;
    Commands from &amp;lt;option1&amp;gt; have precedence over &amp;lt;option2&amp;gt; commands which have&lt;br /&gt;
    precedence over SYS commands.  Note that the final &amp;quot;SYS&amp;quot; is not necessary&lt;br /&gt;
    since it is always implied.&lt;br /&gt;
&lt;br /&gt;
  PATH ADD &amp;lt;option 1:N&amp;gt;&lt;br /&gt;
  PATH +   &amp;lt;option 1:N&amp;gt;&lt;br /&gt;
    Puts the &amp;lt;option&amp;gt; option on the front of the existing path.  This means&lt;br /&gt;
    that the &amp;lt;option&amp;gt; option will be searched before any other.  If the option&lt;br /&gt;
    already exists elsewhere in the path, it is moved from where it is&lt;br /&gt;
    to the beginning.&lt;br /&gt;
&lt;br /&gt;
  PATH ADD+ &amp;lt;option 1:N&amp;gt;&lt;br /&gt;
    Puts the &amp;lt;option&amp;gt; on the end of the existing path but before SYS. If the&lt;br /&gt;
    option already exists elsewhere in the path, it is moved from where it is to&lt;br /&gt;
    the end but before SYS.&lt;br /&gt;
&lt;br /&gt;
  PATH PUT &amp;lt;option 1:N&amp;gt;&lt;br /&gt;
    If &amp;lt;option&amp;gt; already exists on the path, does nothing (except notify the&lt;br /&gt;
    user). If &amp;lt;option&amp;gt; is not on path, performs an ADD.&lt;br /&gt;
&lt;br /&gt;
  PATH REMove &amp;lt;option 1:N&amp;gt;&lt;br /&gt;
  PATH -      &amp;lt;option 1:N&amp;gt;&lt;br /&gt;
    Removes &amp;lt;option&amp;gt; from the existing path.&lt;br /&gt;
&lt;br /&gt;
  PATH REDO&lt;br /&gt;
    Refreshes the current path using updated COMMANDS.CNF files.&lt;br /&gt;
&lt;br /&gt;
  PATH SHOW&lt;br /&gt;
    Prints your current configuration.&lt;br /&gt;
&lt;br /&gt;
  PATH&lt;br /&gt;
    Without any arguments, prints your current configuration.&lt;br /&gt;
&lt;br /&gt;
PATH is for purposes of interface compatibility; it is composed simply of a&lt;br /&gt;
series of CONFIGURE commands.  To see what can be done with the NeXtMidas method&lt;br /&gt;
of configuration control, see EXPLAIN CONFIGURE.&lt;br /&gt;
&lt;br /&gt;
The REDO function causes PATH to read the same series of COMMANDS.CNF files as&lt;br /&gt;
before.  This is useful if you happen to change one or more of your COMMANDS.CNF&lt;br /&gt;
files and you want to redo your same configuration (so that your in-memory&lt;br /&gt;
dictionary will reflect the change) without having to type all your same&lt;br /&gt;
arguments again.&lt;br /&gt;
&lt;br /&gt;
PATH keeps track of its configuration with an environment symbol called&lt;br /&gt;
ENV.PATH.  Any changes to your dictionary through individual CONFIGURE or UPDATE&lt;br /&gt;
commands will not be reflected in this symbol; PATH should be the only command&lt;br /&gt;
that changes it.&lt;br /&gt;
&lt;br /&gt;
To use a raw java jar (or directory of classes) with NeXtMidas, simply define&lt;br /&gt;
the jar as an option. For example,&lt;br /&gt;
  nM&amp;gt; option jython /path/to/jython.jar&lt;br /&gt;
  nM&amp;gt; path add jython&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
  nM&amp;gt; PATH GET UCL uclpath&lt;br /&gt;
    Gets the path for UCL and places it in the result uclpath.&lt;br /&gt;
&lt;br /&gt;
  nM&amp;gt; PATH SET site sys&lt;br /&gt;
    Allows site commands to have precedence over system commands.&lt;br /&gt;
&lt;br /&gt;
  nM&amp;gt; PATH SET site user&lt;br /&gt;
    Allows SITE commands to have precedence over USER commands which have&lt;br /&gt;
    precedence over SYS commands.  Note that the final &amp;quot;SYS&amp;quot; is not necessary&lt;br /&gt;
    since it is always implied.&lt;br /&gt;
&lt;br /&gt;
  nM&amp;gt; PATH SET user site proj sys&lt;br /&gt;
    Allows commands under the option PROJ to have precedence over system; SITE&lt;br /&gt;
    to have precedence over PROJ, and USER to have precedence over all of them.&lt;br /&gt;
&lt;br /&gt;
  nM&amp;gt; PATH ADD ucl&lt;br /&gt;
    Puts the UCL option on the front of the existing path.&lt;br /&gt;
&lt;br /&gt;
  nM&amp;gt; PATH ADD dsp ucl audio&lt;br /&gt;
    Puts the DSP option on the front of the existing path, then puts UCL on the&lt;br /&gt;
    front of that, then puts AUDIO on the front of that. The new path is now:&lt;br /&gt;
      AUDIO,UCL,DSP,&amp;lt;existing path&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  nM&amp;gt; PATH ADD+ ucl&lt;br /&gt;
    Puts the UCL option on the end of the existing path but before SYS.&lt;br /&gt;
&lt;br /&gt;
  nM&amp;gt; PATH PUT ucl&lt;br /&gt;
    Puts the UCL option on the front of the path UNLESS it already exists&lt;br /&gt;
    somewhere on the path, in which case it does nothing.&lt;br /&gt;
&lt;br /&gt;
  nM&amp;gt; PATH REMOVE user&lt;br /&gt;
   or&lt;br /&gt;
  nM&amp;gt; PATH REM user&lt;br /&gt;
    Removes the USER option from the existing path.&lt;br /&gt;
&lt;br /&gt;
  nM&amp;gt; PATH/REDO&lt;br /&gt;
    Refreshes the current path using updated COMMANDS.CNF files.&lt;br /&gt;
&lt;br /&gt;
  nM&amp;gt; PATH/RERUN&lt;br /&gt;
    Prints the current path and runs any optstart.mm macros in the option trees.&lt;br /&gt;
&lt;br /&gt;
  nM&amp;gt; PATH&lt;br /&gt;
    Prints your current path configuration.&lt;br /&gt;
&lt;br /&gt;
Switches:&lt;br /&gt;
  /REDO    - Refreshes the current path using updated COMMANDS.CNF files.&lt;br /&gt;
  /RERUN   - Reruns the optstart.mm macros in the option trees on the path.&lt;br /&gt;
  /SKIPRUN - Skip running optstart.mm macros in the option trees that are new&lt;br /&gt;
             on the path. (Since NeXtMidas 2.9.1) [DEF=FALSE]&lt;br /&gt;
&lt;br /&gt;
See also:  CONFIGURE, UPDATE, OPTION&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:NXM_Explain]]&lt;/div&gt;</summary>
		<author><name>ConvertBot</name></author>
		
	</entry>
</feed>