This function will return the used "End Of Line" char sequence of the specified buffer, ie. the line break char(s), which is usually CHR$(10) for Linux/MacOSX based text files and CHR$(13) + CHR$(10) for Windows based text files.
Buffers may be converted between the different line ending modes using the ConvBufToNativeEol(), ConvBufToLnxMacEol() and ConvBufToWinEol() functions.
SYNTAX:
eolSeq$ = BufEolSeq$ (buf$())
INPUTS:
buf$() (STRING array)
- This is the array of any existing and initialized buffer, from which you wanna retrieve the "End Of Line" char sequence.
RESULT:
eolSeq$ (STRING)
- Is either CHR$(10) for Linux/MacOSX mode or CHR$(13) + CHR$(10) Windows mode, depending on your OS or the last called converter function.