<?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=AGI_Command_Reference_-_Text_Management_Commands</id>
	<title>AGI Command Reference - Text Management Commands - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.sierrahelp.com/index.php?action=history&amp;feed=atom&amp;title=AGI_Command_Reference_-_Text_Management_Commands"/>
	<link rel="alternate" type="text/html" href="http://wiki.sierrahelp.com/index.php?title=AGI_Command_Reference_-_Text_Management_Commands&amp;action=history"/>
	<updated>2026-11-20T17:44:49Z</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=AGI_Command_Reference_-_Text_Management_Commands&amp;diff=88839&amp;oldid=prev</id>
		<title>Andrew Branscom at 00:38, 2 April 2025</title>
		<link rel="alternate" type="text/html" href="http://wiki.sierrahelp.com/index.php?title=AGI_Command_Reference_-_Text_Management_Commands&amp;diff=88839&amp;oldid=prev"/>
		<updated>2025-04-02T00:38:54Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 19:38, 1 April 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l23&quot;&gt;Line 23:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 23:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-size: 22pt&amp;quot;&amp;gt;Text Management Commands&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-size: 22pt&amp;quot;&amp;gt;Text Management Commands&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&#039;&#039;By [[&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;agiw:&lt;/del&gt;Chris Cromer|Chris Cromer]]&#039;&#039;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&#039;&#039;By [[Chris Cromer|Chris Cromer]]&#039;&#039;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;amp;nbsp;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;amp;nbsp;&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=AGI_Command_Reference_-_Text_Management_Commands&amp;diff=54343&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=AGI_Command_Reference_-_Text_Management_Commands&amp;diff=54343&amp;oldid=prev"/>
		<updated>2025-02-16T13:03:41Z</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 08:03, 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=AGI_Command_Reference_-_Text_Management_Commands&amp;diff=54342&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=AGI_Command_Reference_-_Text_Management_Commands&amp;diff=54342&amp;oldid=prev"/>
		<updated>2024-06-03T04:26:34Z</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 23:26, 2 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=AGI_Command_Reference_-_Text_Management_Commands&amp;diff=54341&amp;oldid=prev</id>
		<title>sierraw&gt;Andrew Branscom: /* status.line.off(); */</title>
		<link rel="alternate" type="text/html" href="http://wiki.sierrahelp.com/index.php?title=AGI_Command_Reference_-_Text_Management_Commands&amp;diff=54341&amp;oldid=prev"/>
		<updated>2022-01-31T01:16:59Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;status.line.off();&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:AGI Pages]]&lt;br /&gt;
[[AGI Command Reference|AGI Command Reference Index]]&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&lt;br /&gt;
Page:&lt;br /&gt;
[[AGI Command Reference - Arithmetic Commands|1]] | &lt;br /&gt;
[[AGI Command Reference - Commands to Load and unLoad Resources|2]] | &lt;br /&gt;
[[AGI Command Reference - Program Control Commands|3]] | &lt;br /&gt;
[[AGI Command Reference - Object Control Commands|4]] | &lt;br /&gt;
[[AGI Command Reference - Object Description Commands|5]] | &lt;br /&gt;
[[AGI Command Reference - Object Motion Control Commands|6]] | &lt;br /&gt;
[[AGI Command Reference - Inventory Item Management Commands|7]] | &lt;br /&gt;
[[AGI Command Reference - Picture Resource Management Commands|8]] | &lt;br /&gt;
[[AGI Command Reference - Sound Resource Management Commands|9]] | &lt;br /&gt;
[[AGI Command Reference - Text Management Commands|10]] | &lt;br /&gt;
[[AGI Command Reference - String Management Commands|11]] | &lt;br /&gt;
[[AGI Command Reference - Initialization Commands|12]] | &lt;br /&gt;
[[AGI Command Reference - Menu Management Commands|13]] | &lt;br /&gt;
[[AGI Command Reference - Test Commands|14]] | &lt;br /&gt;
[[AGI Command Reference - Other Commands|15]] | &lt;br /&gt;
[[AGI Command Reference - Unknown Commands|16]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-size: 22pt&amp;quot;&amp;gt;Text Management Commands&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;By [[agiw:Chris Cromer|Chris Cromer]]&amp;#039;&amp;#039;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;br /&amp;gt;prevent.input(); ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;Prevents the user from entering anything using the keyboard.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== accept.input(); ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;Allows the user to enter text using the keyboard.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== print(n); print.v(n); ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;Opens a text window in the center of the screen, where a message number n (or Var(n)) from the messages field of the current Logic resource is displayed. Output mode is determined by Flag(15).&lt;br /&gt;
The message is a NULL-terminated string of text. In addition to letters, digits, and other symbols, the string may contain:&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
* Newline character (0Ah);&lt;br /&gt;
* Format element:&lt;br /&gt;
** %v - at this place the output will include a decimal value of variable with the given number.&lt;br /&gt;
** %m - the text of the message with the given number is inserted at this place.&lt;br /&gt;
** %0 - the name of the item with the given number is inserted at this place.&lt;br /&gt;
** %w - a vocabulary word with the given number is inserted at this place.&lt;br /&gt;
** %s - a string variable with the given number is inserted at this place.&lt;br /&gt;
** %g - a message with this number from message field of Logic(0) is inserted at this place.&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
For v format, you can add a vertical line and a number of characters the output should take. In this case leading zeros are not suppressed in the output. Example: %v34 | 2 When you write your messages, remember that the interpreter wraps the text between the lines as needed when the message is displayed.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== display(R, C, N); display.v(R, C, N); ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;Prints a message number N (Var(N)) in the row R (Var(R)), starting with the column C (Var(C)). No window is created, so it is up to the programmer to erase the output when it is no longer needed.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== print.at(n, x, y, l); print.at.v(n, x, y, l); ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;Analogous to print but the programmer can specify the window location. x, y, and l are constants specifying coordinates of the top left corner of the window and its width in character cells of a 40x25 screen.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== version(); ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;Prints interpreter version in the center of the screen.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== text.screen(); ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;The screen switches to the text mode 40x25.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== graphics(); ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;The screen returns to the graphics mode. The picture on the screen is restored.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== set.cursor.char(n); ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;First byte of the message n is user as a text mode cursor.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== set.text.attribute(F, B); ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;Sets foreground and background colors for display, get_num, and get_string commands.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== clear.lines(n, m, C); ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;Clears text lines from n to m using color C.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== clear.text.rect(x1, y1, x2, y2, C); ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;Clears a rectangular area with top left corner coordinates (x1,y1) and bottom right coordinates (x2,y2) using color C.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== status.line.on(); ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;Shows the status line containing the current score and sound status (on/off).&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== status.line.off(); ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
Removes the status line.&lt;br /&gt;
&amp;lt;/blockquote&amp;gt; &lt;br /&gt;
&lt;br /&gt;
==&amp;lt;br /&amp;gt; References ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==&amp;lt;br /&amp;gt; Related Links ==&lt;br /&gt;
&lt;br /&gt;
* &lt;br /&gt;
&lt;br /&gt;
&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&lt;br /&gt;
Page:&lt;br /&gt;
[[AGI Command Reference - Arithmetic Commands|1]] | &lt;br /&gt;
[[AGI Command Reference - Commands to Load and unLoad Resources|2]] | &lt;br /&gt;
[[AGI Command Reference - Program Control Commands|3]] | &lt;br /&gt;
[[AGI Command Reference - Object Control Commands|4]] | &lt;br /&gt;
[[AGI Command Reference - Object Description Commands|5]] | &lt;br /&gt;
[[AGI Command Reference - Object Motion Control Commands|6]] | &lt;br /&gt;
[[AGI Command Reference - Inventory Item Management Commands|7]] | &lt;br /&gt;
[[AGI Command Reference - Picture Resource Management Commands|8]] | &lt;br /&gt;
[[AGI Command Reference - Sound Resource Management Commands|9]] | &lt;br /&gt;
[[AGI Command Reference - Text Management Commands|10]] | &lt;br /&gt;
[[AGI Command Reference - String Management Commands|11]] | &lt;br /&gt;
[[AGI Command Reference - Initialization Commands|12]] | &lt;br /&gt;
[[AGI Command Reference - Menu Management Commands|13]] | &lt;br /&gt;
[[AGI Command Reference - Test Commands|14]] | &lt;br /&gt;
[[AGI Command Reference - Other Commands|15]] | &lt;br /&gt;
[[AGI Command Reference - Unknown Commands|16]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[AGI Command Reference|AGI Command Reference Index]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;float: left&amp;quot;&amp;gt;[[AGI Command Reference - Sound Resource Management Commands|&amp;amp;lt; Previous: Sound Resource Management Commands]]&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;float: right&amp;quot;&amp;gt;[[AGI Command Reference - String Management Commands|Next: String Management Commands &amp;amp;gt;]]&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
[[Category:Technical Info]]&lt;br /&gt;
[[Category:References]]&lt;br /&gt;
[[Category:AGI References]]&lt;br /&gt;
[[Category:AGI Logic]]&lt;br /&gt;
[[Category:AGI Commands]]&lt;/div&gt;</summary>
		<author><name>sierraw&gt;Andrew Branscom</name></author>
	</entry>
</feed>