<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.sierrahelp.com/index.php?action=history&amp;feed=atom&amp;title=Display_Command</id>
	<title>Display Command - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.sierrahelp.com/index.php?action=history&amp;feed=atom&amp;title=Display_Command"/>
	<link rel="alternate" type="text/html" href="http://wiki.sierrahelp.com/index.php?title=Display_Command&amp;action=history"/>
	<updated>2026-10-28T12:07:19Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>http://wiki.sierrahelp.com/index.php?title=Display_Command&amp;diff=106960&amp;oldid=prev</id>
		<title>Andrew Branscom: Andrew Branscom moved page Display to Display Command without leaving a redirect</title>
		<link rel="alternate" type="text/html" href="http://wiki.sierrahelp.com/index.php?title=Display_Command&amp;diff=106960&amp;oldid=prev"/>
		<updated>2026-03-29T01:33:25Z</updated>

		<summary type="html">&lt;p&gt;Andrew Branscom moved page &lt;a href=&quot;/index.php/Display&quot; title=&quot;Display&quot;&gt;Display&lt;/a&gt; to &lt;a href=&quot;/index.php/Display_Command&quot; title=&quot;Display Command&quot;&gt;Display Command&lt;/a&gt; without leaving a redirect&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 21:33, 28 March 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Andrew Branscom</name></author>
	</entry>
	<entry>
		<id>http://wiki.sierrahelp.com/index.php?title=Display_Command&amp;diff=66559&amp;oldid=prev</id>
		<title>Andrew Branscom: 2 revisions imported</title>
		<link rel="alternate" type="text/html" href="http://wiki.sierrahelp.com/index.php?title=Display_Command&amp;diff=66559&amp;oldid=prev"/>
		<updated>2025-02-16T20:22:26Z</updated>

		<summary type="html">&lt;p&gt;2 revisions imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 16:22, 16 February 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Andrew Branscom</name></author>
	</entry>
	<entry>
		<id>http://wiki.sierrahelp.com/index.php?title=Display_Command&amp;diff=66558&amp;oldid=prev</id>
		<title>Andrew Branscom: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="http://wiki.sierrahelp.com/index.php?title=Display_Command&amp;diff=66558&amp;oldid=prev"/>
		<updated>2024-06-03T04:55:23Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 00:55, 3 June 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Andrew Branscom</name></author>
	</entry>
	<entry>
		<id>http://wiki.sierrahelp.com/index.php?title=Display_Command&amp;diff=66557&amp;oldid=prev</id>
		<title>Andrew Branscom: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="http://wiki.sierrahelp.com/index.php?title=Display_Command&amp;diff=66557&amp;oldid=prev"/>
		<updated>2022-01-28T16:19:38Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The &amp;#039;&amp;#039;&amp;#039;display&amp;#039;&amp;#039;&amp;#039; command displays text at a specified row and column.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
display([[number|byt]] ROW, [[number|byt]]COL, [[message|msg]] mMSG);&amp;lt;br /&amp;gt;&lt;br /&gt;
display([[number|byt]] ROW, [[number|byt]] COL, &amp;quot;message text&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
== Remarks ==&lt;br /&gt;
&lt;br /&gt;
This command takes a numbers as arguments. &amp;#039;&amp;#039;&amp;#039;[[display.v]]&amp;#039;&amp;#039;&amp;#039; also displays text, but all arguments are [[variable|variables]].&lt;br /&gt;
&lt;br /&gt;
The text of [[message]] &amp;#039;&amp;#039;&amp;#039;mMSG&amp;#039;&amp;#039;&amp;#039; is displayed at row &amp;#039;&amp;#039;&amp;#039;ROW&amp;#039;&amp;#039;&amp;#039; and column &amp;#039;&amp;#039;&amp;#039;COL&amp;#039;&amp;#039;&amp;#039;, using the background and foreground colors set by the most recent &amp;#039;&amp;#039;&amp;#039;[[set.text.attribute]]&amp;#039;&amp;#039;&amp;#039; command. Note that unlike the &amp;#039;&amp;#039;&amp;#039;[[print]]&amp;#039;&amp;#039;&amp;#039; commands, the &amp;#039;&amp;#039;&amp;#039;display&amp;#039;&amp;#039;&amp;#039; command does not include a border around the message text.&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;&amp;#039;display&amp;#039;&amp;#039;&amp;#039; command is mostly used on the [[text screen]]. Typical uses for the text screen are to display help screens, or passages of text from in game items such as books, letters, etc.&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;&amp;#039;display&amp;#039;&amp;#039;&amp;#039; command will also display text messages on the [[graphics screen]]. Care must be taken in this case, because the text does not automatically clear. Also, if a [[screen object]] moves over the displayed text, the text will be erased pixel by pixel as the the object moves past. The programmer should take care to be sure the displayed text will not be accidentally erased by moving objects.&lt;br /&gt;
&lt;br /&gt;
A typical use of the &amp;#039;&amp;#039;&amp;#039;display&amp;#039;&amp;#039;&amp;#039; command on the graphics screen is to add text to credit screens, or maybe to provide changing text on signs or such.&lt;br /&gt;
&lt;br /&gt;
== Possible Errors ==&lt;br /&gt;
&lt;br /&gt;
If you pass a row value greater than 24, your text will not display at all. If you pass a column value greater than 39, the first character of the display message will be placed slightly below the desired &amp;#039;&amp;#039;&amp;#039;ROW&amp;#039;&amp;#039;&amp;#039; value, with a vertical offset in pixels equal to INT(&amp;#039;&amp;#039;&amp;#039;COL&amp;#039;&amp;#039;&amp;#039;/40), in a column equal to the &amp;#039;&amp;#039;&amp;#039;COL&amp;#039;&amp;#039;&amp;#039; value MOD 40, and the rest of the display message will be left aligned, one row below the desired &amp;#039;&amp;#039;&amp;#039;ROW&amp;#039;&amp;#039;&amp;#039; value. &lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;CodeBlockHeader&amp;quot;&amp;gt;Code:&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;agi&amp;quot;&amp;gt;&lt;br /&gt;
text.screen();             [ change to text screen so we can use all colors&lt;br /&gt;
set.text.attribute(3, 0);  [ cyan text on black background&lt;br /&gt;
display(6, 10, &amp;quot;Burma Shave&amp;quot;);&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Technical Information ==&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
| style=&amp;quot;background-color: #efefef&amp;quot; width=&amp;quot;200&amp;quot; | &amp;#039;&amp;#039;&amp;#039;Required Interpreter Version:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| width=&amp;quot;175&amp;quot; | Available in all AGI versions.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #efefef&amp;quot; | &amp;#039;&amp;#039;&amp;#039;Byte-Code Value:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| 103 (0x67 hex)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;[[display.v]]&amp;#039;&amp;#039;&amp;#039;&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;[[set.text.attribute]]&amp;#039;&amp;#039;&amp;#039;&amp;lt;br /&amp;gt;&lt;br /&gt;
[[Category:Commands]]&amp;lt;br /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Andrew Branscom</name></author>
	</entry>
</feed>