<?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=REGISTRY</id>
	<title>REGISTRY - 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=REGISTRY"/>
	<link rel="alternate" type="text/html" href="https://wiki.ice-online.com/index.php?title=REGISTRY&amp;action=history"/>
	<updated>2026-04-14T13:18:49Z</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=REGISTRY&amp;diff=798&amp;oldid=prev</id>
		<title>ConvertBot: Displays and manipulates registry entries.</title>
		<link rel="alternate" type="text/html" href="https://wiki.ice-online.com/index.php?title=REGISTRY&amp;diff=798&amp;oldid=prev"/>
		<updated>2020-04-27T22:05:00Z</updated>

		<summary type="html">&lt;p&gt;Displays and manipulates registry entries.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Displays and manipulates registry entries.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;FUNC&amp;gt; - What to do (SHOW, COPY, START, STOP)&lt;br /&gt;
&amp;lt;P1&amp;gt;   - &amp;lt;FUNC&amp;gt;-dependent parameter&lt;br /&gt;
&amp;lt;P2&amp;gt;   - &amp;lt;FUNC&amp;gt;-dependent parameter&lt;br /&gt;
&lt;br /&gt;
The registry shows a list of the commands that are running. In general this&lt;br /&gt;
includes any macros or primitives run in the background or in a pipe. The&lt;br /&gt;
registry table has three special entries:&lt;br /&gt;
      SHELL    - Pointer to the current shell.&lt;br /&gt;
      HANDLERS - The handlers table (includes file handlers).&lt;br /&gt;
      MAIN     - Pointer to the current macro (only available inside a macro).&lt;br /&gt;
&lt;br /&gt;
Of all of the functions available, SHOW is the most common and is almost&lt;br /&gt;
universally run with no arguments (i.e. listing all entries in the registry):&lt;br /&gt;
        nM&amp;gt; reg&lt;br /&gt;
          T: REG             = Table of 4 entries&lt;br /&gt;
          O:  PLOT           = P: PLOT,FILE=,/BG=&lt;br /&gt;
          O:  SHELL          = nxm.sys.lib.Shell@c1cd1f&lt;br /&gt;
          O:  SD360          = M: SD360,SAMPLES=5E6,FORMAT=SF,/SERVER=,/BG=&lt;br /&gt;
          T:  HANDLERS       = Table of 3 entries&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Functions:&lt;br /&gt;
  SHOW  - Shows an entry in the registry. For the SHOW function, &amp;lt;P1&amp;gt; is the&lt;br /&gt;
          registry entry label. If &amp;lt;P1&amp;gt; is blank then all entries are shown. If&lt;br /&gt;
          &amp;lt;P1&amp;gt; indicates a macro, the macro's registry is shown.&lt;br /&gt;
&lt;br /&gt;
  COPY  - Copies entries. For the COPY function, &amp;lt;P1&amp;gt; is the source registry&lt;br /&gt;
          entry label and &amp;lt;P2&amp;gt; is the label of the destination registry entry.&lt;br /&gt;
&lt;br /&gt;
  FINISH - This function sets the Command state to FINISH and waits &lt;br /&gt;
          up to timeout seconds for the Command to reach the DONE status.  &lt;br /&gt;
          &amp;lt;P1&amp;gt; is the name in the registry and &amp;lt;P2&amp;gt; is the timeout in seconds.&lt;br /&gt;
&lt;br /&gt;
  ABORT - This function sets the Command state to ABORT and waits &lt;br /&gt;
          up to timeout seconds for the Command to reach the DONE status.  &lt;br /&gt;
          &amp;lt;P1&amp;gt; is the name in the registry and &amp;lt;P2&amp;gt; is the timeout in seconds.&lt;br /&gt;
&lt;br /&gt;
  WAIT  - This function waits for the Command to enter the PROCESS state.&lt;br /&gt;
          &amp;lt;P1&amp;gt; is the name in the registry and &amp;lt;P2&amp;gt; is the timeout in seconds.&lt;br /&gt;
&lt;br /&gt;
  STOP  - The STOP function stops the Command and waits for its close() to&lt;br /&gt;
          complete.  The command stays resident but is inactive. &lt;br /&gt;
          &amp;lt;P1&amp;gt; is the name in the registry and &amp;lt;P2&amp;gt; is the timeout in seconds.&lt;br /&gt;
&lt;br /&gt;
  START - The START function restarts the Command and waits for its open() to&lt;br /&gt;
          complete.  The command must be resident after a previous STOP.&lt;br /&gt;
          &amp;lt;P1&amp;gt; is the name in the registry and &amp;lt;P2&amp;gt; is the timeout in seconds.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
  1. List all entries in the registry.&lt;br /&gt;
        nM&amp;gt; reg&lt;br /&gt;
          T: REG             = Table of 4 entries&lt;br /&gt;
          O:  PLOT           = P: PLOT,FILE=,/BG=&lt;br /&gt;
          O:  SHELL          = nxm.sys.lib.Shell@c1cd1f&lt;br /&gt;
          O:  SD360          = M: SD360,SAMPLES=5E6,FORMAT=SF,/SERVER=,/BG=&lt;br /&gt;
          T:  HANDLERS       = Table of 3 entries&lt;br /&gt;
&lt;br /&gt;
  2. Display an individual primitive in the registry. (This did not work&lt;br /&gt;
     correctly prior to NeXtMidas 2.3.0.)&lt;br /&gt;
        nM&amp;gt; reg show plot&lt;br /&gt;
          O: REG.PLOT        = P: PLOT,FILE=,/BG=&lt;br /&gt;
&lt;br /&gt;
  3. Display an individual macro in the registry.&lt;br /&gt;
        nM&amp;gt; reg show sd360&lt;br /&gt;
          O: MAIN            = M: SD360...&lt;br /&gt;
          O: PANEL           = P: PANEL...&lt;br /&gt;
          T: WIN             = Table of 3 entries&lt;br /&gt;
          O:  PANE0          = Pane PANE0 x=0 y=0 w=0 h=0&lt;br /&gt;
          O:  PLOT1          = Pane PLOT1 x=183 y=18 w=448 h=211&lt;br /&gt;
          O:  PLOT2          = Pane PLOT2 x=183 y=253 w=448 h=331&lt;br /&gt;
          O: WAVEFORM        = P: WAVEFORM...&lt;br /&gt;
          O: FFT             = P: FFT...&lt;br /&gt;
          O: RMIF            = P: RMIF...&lt;br /&gt;
          O: PLOT1           = P: PLOT...&lt;br /&gt;
          O: PLOT2           = P: PLOT...&lt;br /&gt;
&lt;br /&gt;
Switches:&lt;br /&gt;
  /ALL - For SHOW function, expand table results.&lt;br /&gt;
  /TIMEOUT - alternate timeout in seconds&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>