SET CURRENCY dictates the format in which currency values are displayed.
SET CURRENCY TO LEFT | RIGHT
SET CURRENCY TO cSymbol
cLeftOrRight = SET( "CURRENCY" )
cSymbol = SET( "CURRENCY", 1 )SET CURRENCY specifies whether the currency symbol should precede or follow the number, and what that symbol should be. These settings are used for any numeric field where the Format property includes the "$" symbol, or if you're using the TRANSFORM() function either on a currency value or with an "@$" format clause.
SET CURRENCY TO " DMK"
SET CURRENCY RIGHT
* The @$ function is the older equivalent of Format
@ 1,1 SAY 12345.6789 PICTURE "@$99999.9999"
* DISPLAYS "12345.6789 DMK"SET("CURRENCY") returns either "RIGHT" or "LEFT", while SET("CURRENCY",1) returns the currency symbol.
Configuration Files, Format, InputMask, Transform(), Set Point, Set Separator, Set SysFormats
