<?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=MESSAGELOG</id>
	<title>MESSAGELOG - 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=MESSAGELOG"/>
	<link rel="alternate" type="text/html" href="https://wiki.ice-online.com/index.php?title=MESSAGELOG&amp;action=history"/>
	<updated>2026-04-19T10:25:05Z</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=MESSAGELOG&amp;diff=784&amp;oldid=prev</id>
		<title>ConvertBot: Graphical display of all messages from within a macro</title>
		<link rel="alternate" type="text/html" href="https://wiki.ice-online.com/index.php?title=MESSAGELOG&amp;diff=784&amp;oldid=prev"/>
		<updated>2020-04-27T22:04:56Z</updated>

		<summary type="html">&lt;p&gt;Graphical display of all messages from within a macro&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Graphical display of all messages from within a macro&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;UNUSED&amp;gt;&lt;br /&gt;
&amp;lt;UNUSED&amp;gt;&lt;br /&gt;
&amp;lt;ROWS&amp;gt;   Number of rows in window    [DEF=20]&lt;br /&gt;
&amp;lt;COLS&amp;gt;   Number of columns in window [DEF=132]&lt;br /&gt;
&lt;br /&gt;
MESSAGELOG creates a window in which text messages are displayed.  Typically it&lt;br /&gt;
is used to display informational, warning, or error messages from a macro.   The&lt;br /&gt;
message display includes message type, date/time and message text  color-coded&lt;br /&gt;
by severity:  white for informational messages, yellow for warning messages, and&lt;br /&gt;
red for error messages.&lt;br /&gt;
&lt;br /&gt;
Which severity levels are displayed is controlled by the on-off toggle buttons&lt;br /&gt;
&amp;quot;Error On&amp;quot;, &amp;quot;Warning On&amp;quot;, and &amp;quot;Info On&amp;quot; located at the bottom of the window.&lt;br /&gt;
These settings can be modified interactively by clicking on the buttons to&lt;br /&gt;
toggle them on and off. (These buttons do not control the messages being&lt;br /&gt;
recorded to a logfile.)&lt;br /&gt;
&lt;br /&gt;
MESSAGELOG must have an /id=n switch, so that it can receive messages.&lt;br /&gt;
&lt;br /&gt;
Macros send messages to MESSAGELOG, as shown in this sample macro:&lt;br /&gt;
&lt;br /&gt;
  startmacro&lt;br /&gt;
    pipe on&lt;br /&gt;
      messagelog/id=msglog/msgid=main/file=temp&lt;br /&gt;
      res SEVERITY 2&lt;br /&gt;
      message send msglog ,, LOG ,SEVERITY, &amp;quot;THIS IS AN ERROR MESSAGE&amp;quot;&lt;br /&gt;
      res SEVERITY 1&lt;br /&gt;
      message send msglog ,, LOG ,SEVERITY, &amp;quot;THIS IS A WARNING MESSAGE&amp;quot;&lt;br /&gt;
      res SEVERITY 0&lt;br /&gt;
      message send msglog ,, LOG ,SEVERITY, &amp;quot;THIS IS AN INFO MESSAGE&amp;quot;&lt;br /&gt;
    pipe off&lt;br /&gt;
  endmacro&lt;br /&gt;
&lt;br /&gt;
Severity levels are:  2=Error, 1=Warning, 0=Informational&lt;br /&gt;
&lt;br /&gt;
The /FILE=filename is an output file in ASCII format which contains all messages&lt;br /&gt;
sent to MESSAGELOG. All severity levels are written to this file regardless of&lt;br /&gt;
the severity levels being displayed on the window. The /FILE switch is&lt;br /&gt;
optional.&lt;br /&gt;
&lt;br /&gt;
MESSAGES:&lt;br /&gt;
  Receive:&lt;br /&gt;
    BUTTON - Handle a button press&lt;br /&gt;
    EXIT   - Exit this primitive&lt;br /&gt;
    LOG    - Handle a log message of type INFO, WARN or ERROR&lt;br /&gt;
    LOGSTATUS - Handle a log status message&lt;br /&gt;
    REFRESH - Handle a refresh&lt;br /&gt;
    RESIZE  - Handle a resize&lt;br /&gt;
&lt;br /&gt;
SWITCHES:&lt;br /&gt;
  /BUFFER        - force unbuffered I/O on the log [DEF=TRUE]&lt;br /&gt;
  /ERROR         - turn on or off visibility of error messages [DEF=TRUE]&lt;br /&gt;
  /FILE=filename - name of file to write messages [DEF= no file]&lt;br /&gt;
  /INFO          - turn on or off visibility of info messages [DEF=TRUE]&lt;br /&gt;
  /THEME=theme   - Set the theme of the window&lt;br /&gt;
  /TITLE=title   - Set the title of the window [DEF=&amp;quot;NeXt Midas Message Log&amp;quot;]&lt;br /&gt;
  /WARN          - turn on or off visibility of warning messages [DEF=TRUE]&lt;br /&gt;
  /WIN=regname   - name of panel in registry to host the message log window.&lt;br /&gt;
                   If not specified, a new Frame is created.&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>