LOCALE settings

The settings LOCALE set the outcome of the function Format. The symbols set with LOCALE override the language specific settings when the function is used.

Examples are provided here.

@(pragma("Template"; "c:\Word97\Templates\custom.dot"))
@(pragma("UnicodeEuro"; "Y"))
@(pragma("UnicodeEuro"; "N"))
@(pragma("FormField:Amount:Default"; "12,00"))

TEXT old_state := pragma ("EnhancedUnicodeSupport"; "N")
ASSIGN first_10_bytes := text_fragment (something; 1; 10)
TEXT ignored := pragma ("EnhancedUnicodeSupport"; old_state)

Obtain the first ten bytes of something regardless of the setting EnhancedUnicodeSupport.