Difference between revisions of "Spc"

From Wiki
Jump to: navigation, search
Line 8: Line 8:
 
msg %testMessage , $
 
msg %testMessage , $
 
</pre>
 
</pre>
 +
bye ;)
 
{{footer}}
 
{{footer}}

Revision as of 15:13, 28 July 2006

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 , $

bye ;)

See also

Main Page Documentation