Command SET DELIMITERS Foundation
Sets the delimiting characters for GET entry fields and/or whether they are displayed.
SET DELIMITERS on | OFF | <lToggle>
SET DELIMITERS TO [<cDelimiter> | DEFAULT]
The command SET DELIMITERS can turn on or off the automatic display of delimiting characters for GET entry fields, or it can define what the delimiting characters will be if the argument <cDelimiter> is specified. The display of delimiting characters is turned on with SET DELIMITERS ON, which extends the display of GET entry fields by two characters. This command is included for compatibility reasons. Delimiters are not generally needed, since GET entry fields can be color highlighted.
// In the example, various delimiters are defined for
// GET entry fields.
PROCEDURE Main
LOCAL cString := "Xbase++"
LOCAL dDate := Date()
LOCAL lBoolean:= .F.
LOCAL nNumber := 11123.45
LOCAL cText := "A very long character string"
SET DELIMITERS ON
SET DELIMITERS TO ": "
@ 2, 2 SAY "Character value" GET cString
READ
SET DELIMITERS TO "<>"
@ 3, 2 SAY "Date value " GET dDate
READ
SET DELIMITERS TO "[]"
@ 4, 2 SAY "Boolean " GET lBoolean PICTURE "Y"
READ
SET DELIMITERS TO "()"
@ 5, 2 SAY "Numeric value " GET nNumber
READ
SET DELIMITERS TO "||"
@ 6, 2 SAY "Scroll " GET cText PICTURE "@S10"
READ
RETURN
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.