about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorelioat <elioat@tilde.institute>2022-12-08 16:16:37 -0500
committerelioat <elioat@tilde.institute>2022-12-08 16:16:37 -0500
commit81c20cfab1b424ae76223d18b81c58ff799573a0 (patch)
tree822fc4f93e1be65a36d1832ecb0a6ee9908fe209 /src
parent117f7f7c053269d2b6b24e55ab057aa7777c3d9f (diff)
downloaddecember-2022-81c20cfab1b424ae76223d18b81c58ff799573a0.tar.gz
Learning a bit about file i/o w/lil
Diffstat (limited to 'src')
-rw-r--r--src/tmp.lil4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tmp.lil b/src/tmp.lil
index 3238b96..50f8467 100644
--- a/src/tmp.lil
+++ b/src/tmp.lil
@@ -35,6 +35,10 @@ l:insert name:"John" job:"Critic" age:32 into people
 
 show[l]
 
+save:writecsv[l "sis" ","] # where sis formats the column type, here string integer string -- the other option is boolean. 
+
+write["test.csv" save]
+
 on cons x y do
 	x,y
 end
\ No newline at end of file