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 - set delimiters control the delimiters for the get system http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 set delimiters      Control the delimiters for the get system
------------------------------------------------------------------------------
 Syntax
   set delimiters on|off

 Arguments
   None.

 Description
   The set delimiters command sets the display state of delimiters for the
   get system.

   on specifies the get input field will be preceded and appended by
   the current delimiter characters. Delimiters are displayed with standard
   colors.

   off suppresses display of the left and right delimiter characters.

 Example
   #define EXAMPLE_IO
   #include example.hdr

   proc Test_setdelimiters
   vardef
      char( 20 ) cName
   enddef
   clear
   cName := "Hillary"
   set delimiters to "<>"
   @ 1, 3 say getdelim() get cName; read
   set intensity off                       // switch off highlight
   set delimiters on                       // switch on delimiters
   @ 2, 3 say getdelim() get cName; read
   endproc

   proc main
   Test_setdelimiters()
   endproc

See Also: getdelim()

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