Difference between revisions of "Spc"

From Wiki
Jump to: navigation, search
(removed syntax section, moved example section)
Line 2: Line 2:
 
== #spc ==
 
== #spc ==
 
'''Constant System Variables'''
 
'''Constant System Variables'''
 
 
=== Syntax ===
 
#spc
 
 
 
=== Description ===
 
=== Description ===
 
<span title="Read Only" style="border-bottom:1px dotted">&rarr;</span>
 
<span title="Read Only" style="border-bottom:1px dotted">&rarr;</span>
Line 14: Line 9:
  
 
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 ====
 +
[[smc]]
 +
[[dot]]
  
 
[[Documentation]]
 
[[Documentation]]

Revision as of 08:46, 7 August 2005

#spc

Constant System Variables

Description

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

smc dot

Documentation