513
SEP( ) Function
Return Field Separator
Format
SEP(chan)
Where:
Channel or logical file number of an OPEN file.
chan
Returns
Either the SEP value (single character string) for an OPEN file on given channel or ""
(null).
Description
The SEP( ) function returns either a single character string, SEP (the field separator
value in hex) for a given file OPEN on a given channel, or "" (null).
The value returned is the value you set in the SEP= option when creating a Keyed or
Indexed file (a single character string which can be anything from $00$ to $FF$).
The function returns "" (null) for a dynamic field separated file (a Keyed or Indexed
file created using a SEP=* option). With this type of file, ProvideX stores each field
in the record with a one-byte prefix identifying the type and length of data that
immediately follows.
Example
->open (14)"pvx_dir"
->?hta(sep(14))
8A