Difference between revisions of "Spc"

From Wiki
Jump to: navigation, search
 
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== #spc ==
+
{{header|Constant|ro|A constant that represents ''space'' character.
'''Constant System Variables'''
+
 
+
 
+
=== Syntax ===
+
#spc
+
 
+
=== Description ===
+
→ ''Read Only''
+
 
+
A constant that represents ''space'' character.
+
  
 
The constant <tt>#spc</tt> is used to assign or compare a variable or an expression with the ''space'' character.
 
The constant <tt>#spc</tt> is used to assign or compare a variable or an expression with the ''space'' character.
  
This is required to be used in variables that contain strings which have embedded spaces. EasyUO uses whitespace (spaces, tabs, newlines) as delimiters, therefore you cannot include spaces in strings with the [[set]] command.
+
This is required to be used in variables that contain strings which have embedded spaces. EasyUO uses whitespace (spaces, tabs, newlines) as delimiters, therefore you cannot include spaces in strings with the [[set]] command.}}
 
+
==== See Also ====
+
[[Smc]]
+
[[Dot]]
+
 
+
 
==== Example ====
 
==== Example ====
 
<pre>set %testMessage hello , #spc , world
 
<pre>set %testMessage hello , #spc , world
 
msg %testMessage , $
 
msg %testMessage , $
 
</pre>
 
</pre>
 
+
=See Also=
[[Constant System Variables]]
+
{{Constant}}

Latest revision as of 09:18, 13 September 2007

A constant that represents space character.

The constant #spc is used to assign or compare a variable or an expression with the space character.

This is required to be used in variables that contain strings which have embedded spaces. EasyUO uses whitespace (spaces, tabs, newlines) as delimiters, therefore you cannot include spaces in strings with the set command.

Example

set %testMessage hello , #spc , world
msg %testMessage , $

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