wesnoth-wiki-changes
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Wesnoth-wiki-changes] VariablesWML


From: wiki
Subject: [Wesnoth-wiki-changes] VariablesWML
Date: Sat, 16 Oct 2004 20:56 +0200

UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/125.4 
(KHTML, like Gecko) Safari/125.9
IP: 66.189.14.56
URI: http://wesnoth.slack.it/?VariablesWML
 - - - - -
Index: VariablesWML
===================================================================
RCS file: /home/wesnoth/cvsroot/wikiroot/VariablesWML,v
retrieving revision 1.9
diff -u -r1.9 VariablesWML
--- VariablesWML        16 Oct 2004 16:59:30 -0000      1.9
+++ VariablesWML        16 Oct 2004 18:56:39 -0000
@@ -34,6 +34,15 @@
 //name//,//format//,//to_variable//([set_variable],InternalActionsWML), 
//message//([message],InterfaceActionsWML), and //variable//
 ([unstore_unit],DirectActionsWML)
 
+You may use | to specify the end of a variable name in those places that array 
variables are allowed, and it will be removed afterwards.  For example, if the
+value of the variable 'characters'
+is
+ cat
+then
+ more characters are: $characters|fish
+will result in
+ more characters are: catfish
+
 If there are multiple [//array//]s, then the //n//th [//array//] is described 
by the expression ||//array//[//n//]||.
 
 Example:






reply via email to

[Prev in Thread] Current Thread [Next in Thread]