ProvideX V8.20 > Language Reference > 2. Directives
73
DEF systab= Directives
      Define System Tables
Formats
1. Define Accent Conversion: DEF CVS(new_table$)
2. Define Date Table: DEF DTE(new_table$)
3. Define Lowercase Table: DEF LCS(new_table$)
4. Define Uppercase Table: DEF UCS(new_table$)
Where:
new_table$ String expression. Contains the new definition (contents) of the table.
Description
Use these DEF directives to define new system tables for Accent Conversion, Date,
Lowercase and Uppercase.
See Also
CVS( ) Function, p.410,
DTE( ) Function, p.420,
LCS( ) Function, p.470,
UCS( ) Function, p.544.
Format 1: Define Accent Translation Table
Use the DEF CVS directive to set the values for the accent conversion table. The value of
each byte to be translated is used as an offset into the table. The character at the particular
offset is used in place of the original character. For more information, refer to the "T"
option under Key Definition Attributes, p.166 and the CVS( ) Function, p.410.
Format 2: Define Date Table
The DEF DTE directive uses a string made up of 46 comma-delimited fields. These
fields are used by the DTE function and should have the following values:
Number of
Field Contents
Fields
12
Long form month names (%Ml)
7
Long form day names (%Dl)
2
Long form lower-case am/pm (%pl)
2
Long form upper-case AM/PM (%Pl)
12
Short form month names (%Ms)
7
Short form day names (%Ds)
2
Short form lower-case am/pm (%ps)
2
Short form upper-case AM/PM (%Ps)