Difference between revisions of "AGI Command Reference - String Management Commands"

From AGI Wiki
Jump to navigationJump to search
Line 76: Line 76:
 
 
 
 
  
 +
[[Category:Logic]]
 
[[Category:Commands]]
 
[[Category:Commands]]
 
[[Category:References]]
 
[[Category:References]]
 
[[Category:Tutorials]]
 
[[Category:Tutorials]]
 
[[Category:Strings]]
 
[[Category:Strings]]

Revision as of 23:27, 22 December 2013

Tutorials Table of Contents
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.

 

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


Tutorials Table of Contents
AGI Command Reference Index

< Previous: Text Management CommandsNext: Initialization Commands >