Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Force 4.0 Reference - __c_space string constant (space character) http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 __c_space           String constant (space character)
------------------------------------------------------------------------------
 Declaration
   string.hdr

 Syntax
   char(1) __c_space

 Default
   "."

 Description
   The __c_space system constant contains the space character as a string.

   System-defined string constants can be used to save data segment
   space by avoiding the redundant declaration of certain frequently used
   string constants in application code.

 Example
   #define EXAMPLE_STRING
   #include example.hdr

   vardef static
      char cHello := "Hello"
      char cThere := "there"
      char cWorld := "world"
   enddef
   
   proc Test_c_space
   ? cHello + __c_space + cThere // non-redundant use of string constants
   ? cHello + __c_space + cWorld
   endproc

   proc main
   Test_c_space()
   endproc

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson