diff options
Diffstat (limited to 'src/catalogue.lil')
-rw-r--r-- | src/catalogue.lil | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/catalogue.lil b/src/catalogue.lil index 52afd69..ab6b20a 100644 --- a/src/catalogue.lil +++ b/src/catalogue.lil @@ -39,8 +39,14 @@ catalogue:table catalogue # alternate syntax to make a table, # t: insert food:("Eggs","Pancakes","Grapefruit") quantity:(3,4,1) tasty:(1,1,0) into 0 +# validate that I can write a table to disk and read it back in show[catalogue] - out:writecsv[catalogue] +show[out] +write["test.csv" out] + +data:read["test.csv"] +newtable:readcsv[data] +show[newtable] +# HUGE SUCCESS! -show[out] \ No newline at end of file |