csvlib is a single-file library written in LDPL, for LDPL.
it includes two procedures, one for writing a line and the other for reading a line.
include this file before any other file in your project.
for example, if you are compiling a file named "source.ldpl", your compilation line will look like this:
$ ldpl csvlib.ldpl source.ldpl
you can find examples of writing and reading into/from a file in the examples subfolder.
But what if I want to know how to use the library right now and not burn time trying to understand your horrible documentation?
fiiiine!
store the filename inside csvlib.filename
.
store everything you want to write inside csvlib.writeValues
and call csvlib.writeLine
.
store the line number inside csvlib.readLineNumber
and call csvlib.readLine
.
your values should be stored inside csvlib.readValues
.
the length of csvlib.readValues
is stored at csvlib.readValuesLen
.