<?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=UPDATE</id>
	<title>UPDATE - 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=UPDATE"/>
	<link rel="alternate" type="text/html" href="https://wiki.ice-online.com/index.php?title=UPDATE&amp;action=history"/>
	<updated>2026-08-03T15:27:03Z</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=UPDATE&amp;diff=762&amp;oldid=prev</id>
		<title>ConvertBot: Updates the command.cnf file for a specified option tree</title>
		<link rel="alternate" type="text/html" href="https://wiki.ice-online.com/index.php?title=UPDATE&amp;diff=762&amp;oldid=prev"/>
		<updated>2020-04-27T22:04:49Z</updated>

		<summary type="html">&lt;p&gt;Updates the command.cnf file for a specified option tree&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Updates the command.cnf file for a specified option tree&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;NAME&amp;gt;  The name of the command to be added/updated.&lt;br /&gt;
&lt;br /&gt;
Keyword Only Parameters&lt;br /&gt;
&lt;br /&gt;
[OPT]     The name of the option tree where the command runs.&lt;br /&gt;
[SUPPORT] The support type (M:macro, I:intrinsic, P:primitive, N:native&lt;br /&gt;
                            H:X-Midas primitive)&lt;br /&gt;
[NARGS]  The number of arguments this command accepts.&lt;br /&gt;
[DEF][1...N] The default parameter values.&lt;br /&gt;
&lt;br /&gt;
Update accepts the above arguments to use when updating or adding a command to&lt;br /&gt;
the commands.cnf file.  If any of the values are not specified on the  command&lt;br /&gt;
line they will be prompted for.   When updating an existing command -  the&lt;br /&gt;
current values for that command will be displayed as the initial values,  which&lt;br /&gt;
the user can override.&lt;br /&gt;
&lt;br /&gt;
NOTE: H support is for Fortran primitives run with the XBC file.&lt;br /&gt;
&lt;br /&gt;
Details:&lt;br /&gt;
&lt;br /&gt;
The command line is parsed to determine which values have been specified. The&lt;br /&gt;
user will be prompted for those values not specified.  The commands.cnf file for&lt;br /&gt;
the specified option tree is searched to see if the command currently exists.&lt;br /&gt;
If so, that command will be updated with the new information. Otherwise the new&lt;br /&gt;
command will be added to the file.  The NAME parameter can contain an &amp;quot;*&amp;quot; symbol&lt;br /&gt;
to indicate an accepted abbreviation for that command. The NARGS command can&lt;br /&gt;
have a &amp;quot;+&amp;quot; symbol following the number to indicate that the number specified is&lt;br /&gt;
the minimum number of arguments it will accept.&lt;br /&gt;
&lt;br /&gt;
When prompted for the command arguments, a dash (-) can be entered to remove a&lt;br /&gt;
KEY=VAL parameter.&lt;br /&gt;
&lt;br /&gt;
The UPDATE utility automatically calls CONFIGURE and PATH REDO whenever you&lt;br /&gt;
update a command.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
&lt;br /&gt;
  * To add a command and be prompted for the command parameters:&lt;br /&gt;
      nM&amp;gt; update mynewcommand&lt;br /&gt;
&lt;br /&gt;
  * To add a command to the commands.cnf file&lt;br /&gt;
      nM&amp;gt; update name=calculator* opt=sys support=I nargs=2+ DEF1=&amp;quot;LABEL=ANSWER&amp;quot;&lt;br /&gt;
&lt;br /&gt;
  * To update a command&lt;br /&gt;
      nM&amp;gt; update name=calc*ulator opt=sys support=I nargs=1+ DEF1=&amp;quot;LABEL=ANSWER&amp;quot;&lt;br /&gt;
&lt;br /&gt;
  * To delete a command&lt;br /&gt;
      nM&amp;gt; update/delete name=calculator opt=sys&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Switches:&lt;br /&gt;
  /AUTO    Updates without prompting. This is equivalent to supplying all&lt;br /&gt;
           arguments.&lt;br /&gt;
  /DELETE  Removes a command from the COMMANDS.CNF file without prompting.&lt;br /&gt;
&lt;br /&gt;
SEE ALSO:  CONFIGURE, PATH&lt;br /&gt;
&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>