Skip to content

a library for handling csv files for the LDPL programming language

License

Notifications You must be signed in to change notification settings

arielf212/csvlib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

A library for handling csv files for the LDPL programming language

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.

How to set up

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

Examples and Documentation

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.

write

store everything you want to write inside csvlib.writeValues and call csvlib.writeLine.

read

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.

About

a library for handling csv files for the LDPL programming language

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published