Adxtul

adxtul is an array of 32 character strings (from 0 to 31) with a maximum length of 1. It allows you to define data types used for formatting data.

These types were previously used by the client to perform format control during input; however, they are now deprecated. The only time they are still used is for format$. If a dedicated data type defined by adxtul(I) is used in a format, the format control checks whether the character corresponds to one of the data types defined in adxtut(I) or one of the characters defined by adxtuc(I). If the format does not fit the string, it returns spaces instead of the formatted characters.

Note that some values of adxtut, adxtul, and adxtuc can be used by the standard Sage X3 software and therefore, may not be modifiable.

Example

 adxtul(0)="R" : # R is a character that is not used in format yetadxtut(0)="" : # No character from a predefined setadxtuc(0)="xyz" : # One of the (x,y,z) charactersadxtul(1)="S" : # S is a character that is not used in format yetadxtul(1)"R#" : # One of the character defined by R or a digitadxtuc(1)="!?/" : # and also the (!?;) charactersadxtul(2)="T" : # T is a character that is not used in format yetadxtul(2)"AS" : # Upper case character or one of the character defined by R or a digitadxtuc(2)="+-" : # and also the (u,v,w) characters# Formatting examplesFORMAT1=format$("K:5R","xxyyzz") : # "xxyyz" (truncation)FORMAT2=format$("K:3R3S","xxy5;?") : # "xxy5/?" (x and y fit with R format, 5,!,/ with S format)FORMAT3=format$("K:3T","xxy") : # "XXY" (x and y fit with A format first and are transformed in upper caseFORMAT4=format$("K:3R3T","+xa") : # " " (+ does not fit with R format that allows only x,y,z)

See also

adxtut, adxtuc, format$.