Specifies the character that separates decimal digits from integer digits in numeric display.

Syntax

SET POINT TO [<expC>]

<expC>

The character representing the decimal point. You can specify more than one character, but dBASE Plus uses only the first one. If you specify a number as a character for <expC> (for example, "3"), dBASE Plus returns an error.

The default is set by the Regional Settings of the Windows Control Panel.

Description

SET POINT affects both numeric input and display with commands such as EDIT. SET POINT also affects numeric display with commands such as DISPLAY MEMORY, STORE, =, and the PICTURE "." template character. You must use the period in the PICTURE option, regardless of the setting of SET POINT.

SET POINT has no effect on the representation of numbers in dBL expressions and statements. Only a period is valid as a decimal point. For example, if you SET POINT TO "," (comma) and issue the following command:

? MAX(123,4, 123,5)

dBASE Plus returns an error. The correct syntax is:

? MAX(123.4, 123.5)

SET POINT TO without the <expC> option resets the decimal character to the default set with theRegional settings of the Windows Control Panel.