AGI Command Reference - String Management Commands: Difference between revisions

From Sierra Wiki
Jump to navigationJump to search
sierraw>Andrew Branscom
 
Andrew Branscom (talk | contribs)
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 23: Line 23:


<div align="center"><span style="font-size: 22pt">String Management Commands</span><br />
<div align="center"><span style="font-size: 22pt">String Management Commands</span><br />
''By [[agiw:Chris Cromer|Chris Cromer]]''</div>
''By [[Chris Cromer|Chris Cromer]]''</div>


&nbsp;
&nbsp;

Latest revision as of 20:24, 1 April 2025

AGI Command Reference Index

Page: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16


String Management Commands
By Chris Cromer

 


set.string(n, m);

Stores message number m in the string variable n.

word.to.string(n, m);

Word number m of the user input is stored in String(n).

get.string(n, m, x, y, l);

User input is stored in String(n). m is the number of the message used as the prompt, x, y, l are input position and maximum string length.

parse(n);

Parses String(n) as if it were entered by the player.

get.num(n, m);

Enters a number from the keyboard into Var(m). Message n is used as the prompt.


References



Related Links

 

Page: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16


AGI Command Reference Index

< Previous: Text Management CommandsNext: Initialization Commands >