Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper 5.2 . The Guide To CA-Clippe - <b>set delimiters</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 SET DELIMITERS
 Toggle or define GET delimiters
------------------------------------------------------------------------------
 Syntax

     SET DELIMITERS on | OFF | <xlToggle>
     SET DELIMITERS TO [<cDelimiters> | DEFAULT]

 Arguments

     ON displays delimiters for GET variables.

     OFF suppresses the delimiter display.

     <xlToggle> is a logical expression that must be enclosed in
     parentheses.  A value of true (.T.) is the same as ON, and a value of
     false (.F.) is the same as OFF.

     TO <cDelimiters> defines a one or two character delimiter.
     Specifying a single character uses the same character as both the
     beginning and ending delimiter.  Specifying two characters uses the
     first as the beginning delimiter and the second as the ending delimiter.

     TO DEFAULT or no delimiters SETs the delimiters to colons which are
     the default delimiters.

 Description

     SET DELIMITERS is a dual purpose command that both defines characters
     used to delimit GETs and toggles the automatic display of delimiters ON
     or OFF.  The @...GET command can display delimiters that surround a GET
     object's display.  If DELIMITERS is ON, the delimiters add two
     characters to the length of the Get object display.

     You can configure the delimiter characters using the TO <cDelimiters>
     clause.  The DEFAULT delimiter character is the colon (:).  When
     specifying delimiters, the beginning and ending delimiter characters can
     be different.  If you wish to suppress either the right, left, or both
     delimiters, use a space instead of the delimiter character.

     Typically, delimiters are unnecessary since GETs display in reverse
     video or enhanced color if INTENSITY is ON.

 Examples

     .  This example SETs DELIMITERS TO a colon and a space for the
        first GET and the square bracket characters for the second:

        LOCAL cVar := SPACE(5), cVar2 := SPACE(5)
        SET DELIMITERS ON
        SET DELIMITERS TO ": "
        @ 1, 0 SAY "Enter" GET cVar
        SET DELIMITERS TO "[]"
        @ 2, 0 SAY "Enter" GET cVar2
        READ

 Files:  Library is CLIPPER.LIB.

See Also: @...GET SET INTENSITY

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