ADXIUM |
Adxium is used to define the coding method used during the write or read of the data in a text file.
Label [S]Adxium
# Read of the first 10 words in the line in sequential files # the fields are separated by ' ' # the records are separated by CR LF (chr$(13)+chr$(10)) # The character string to read is in ASCII Char MOT1(30)(10)Openi filpath('TRT','ZINSTRUC1','txt') Using [FIC1]
Iomode adxirs ' ' Using [FIC1]
Iomode adxifs chr$(13)+chr$(10) Using [FIC1]
Iomode Adxium 50 Using [FIC1]
Rdseq MOT1 Using [FIC1]
Openi Using [FIC1]
Adxium is a numeric variable that is used to define how character strings will be or are coded in a text files during the write or read by the instructions : Wrseq and Rdseq.
This parameter only concerns the instructions Getseq and Putseq that directly use the type of variable to be written or to be read.
When wanting to define the characteristics for a given file, the Adxium will be set by the instruction Iomode just after the opeing of the sequentiel file. This possibility did not exist before version 140.
The possible values for this variable are as follows :
50 : corresponds to an ASCII file
122 : corresponds to an UCS2 file. each character takes 2 bytes in the file.
other : corresponds to an UTF8 file. This coding is identical to ASCII for the classic characters (those less than 128) and a more complex coding on 2, 3 even 4 bytes for the other characters.
By default, Adxium is set to a coding in UTF8.
No associated errors.
ADXIFS - ADXIRS - RDSEQ - WRSEQ - IOMODE - OPENI - OPENO
|
|