Difference between revisions of "Smc"
From Wiki
(9 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | + | {{header|Constant|ro|A constant that represents ''semi-colon'' character. | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | A constant that represents ''semi-colon'' character. | + | |
The constant <tt>#smc</tt> is used to assign or compare a variable or an expression with the ''semi-colon'' character. | The constant <tt>#smc</tt> is used to assign or compare a variable or an expression with the ''semi-colon'' character. | ||
− | This is required because the semi-colon character ';' is used for inline comments. | + | This is required because the semi-colon character ';' is used for inline comments.}} |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
==== Example ==== | ==== Example ==== | ||
<pre>set %charInfo #charName , #smc , #charGhost | <pre>set %charInfo #charName , #smc , #charGhost | ||
Line 25: | Line 10: | ||
menu show | menu show | ||
</pre> | </pre> | ||
− | + | =See Also= | |
− | + | {{Constant}} |
Latest revision as of 09:18, 13 September 2007
⇒ | A constant that represents semi-colon character.
The constant #smc is used to assign or compare a variable or an expression with the semi-colon character. This is required because the semi-colon character ';' is used for inline comments. |
Example
set %charInfo #charName , #smc , #charGhost menu window size 100 100 menu window title %charInfo menu show
See Also
Constant
- Constant system variables represent characters that are used as tokens within the EasyUO language itself, or characters that would not normally be parsed properly by EasyUO.
#dot | ⇒ | A constant that represents the dot character |
#false | ⇒ | A constant that represents boolean false |
#smc | ⇒ | A constant that represents the semicolon character |
#spc | ⇒ | A constant that represents the space character |
#true | ⇒ | A constant that represents boolean true |