ADXIRS |
adxirs contains the record separator used for the read or write of a sequential file.
[S]adxirs(2) Char
# Read of the users of the Adonix group from the file # UNIX /etc/passwd # for which the structure is LOGIN:PWD:UID:GID:NOM:HOM:SHELLLocal Char LOGIN(15), PWD(15),UID(5),GID(5),NOM(80),HOM(80,SHELL(80)
adxifs = ':'adxirs = chr$(10)
Openi "/etc/passwd" Repeat Rdseq LOGIN,PWD,UID,GID,NOM,HOM,SHELL If [L]GID = num$([L]GROUP_ADONIX) ## after the processUntil fstat <> 0
Openi # Write of a file that includes one field per line, for which the # end of line is CR LF (chr$(13)+chr$(10))adxifs = ""
adxirs = chr$(13) + chr$(10)
Openo "TRACE" For I = 1 to NB_LIG Wrseq LIGNE(I) Next I
adxirs is a string of a maximum of two characters used in conjunction with the Rdseq and Wrseq instructions. These instructions read and write data in ASCII format, structured in fields and records:
- Rdseq performs a read until the end of the record, delimited by the sequence defined by adxirs.
- Wrseq writes a record that ends in the adxirs sequence.
adxdirs acknowledges chr$(10) as a default value.
No associated error
ADXIFS - RDSEQ - WRSEQ - OPENI - OPENO
|
|