Difference between revisions of "Spc"

From Wiki
Jump to: navigation, search
m (See Also: Removed center alignment (looked crappy))
Line 1: Line 1:
__NOTOC__
+
{{header|Constant|ro|A constant that represents ''space'' character.
== #spc ==
+
'''Constant System Variables'''
+
=== Description ===
+
{{ro}}
+
 
+
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.}}
 
==== Example ====
 
==== Example ====
 
<pre>set %testMessage hello , #spc , world
 
<pre>set %testMessage hello , #spc , world
 
msg %testMessage , $
 
msg %testMessage , $
 
</pre>
 
</pre>
==== See Also ====
+
{{footer}}
{|
+
| Width=200px | [[Var_smc|&#0035;smc]] || Width=200px | [[Var_dot|&#0035;dot]]
+
|}
+
----
+
[[Documentation]]
+

Revision as of 12:46, 26 August 2005

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

Main Page Documentation