mirror of
https://github.com/ValKmjolnir/Nasal-Interpreter.git
synced 2026-07-26 21:08:45 +08:00
✨ add readline & os.arch
delete test file mandel.nas change io.fin => io.readfile
This commit is contained in:
+1
-1
@@ -1,7 +1,7 @@
|
||||
# lib csv.nas
|
||||
# ValKmjolnir 2022/10/15
|
||||
var read_csv=func(path,delimeter=",",endline="\n"){
|
||||
var context=io.fin(path);
|
||||
var context=io.readfile(path);
|
||||
context=split(endline,context);
|
||||
forindex(var i;context){
|
||||
context[i]=split(delimeter,context[i]);
|
||||
|
||||
Reference in New Issue
Block a user