Just imagining CSV and ZIP workspaces?

APL-related discussions - a stream of APL consciousness.
Not sure where to start a discussion ? Here's the place to be
Forum rules
This forum is for discussing APL-related issues. If you think that the subject is off-topic, then the Chat forum is probably a better place for your thoughts !
Post Reply
tclviiidyalog
Posts: 17
Joined: Tue Apr 26, 2011 1:03 pm

Just imagining CSV and ZIP workspaces?

Post by tclviiidyalog »

Was I just imagining that there were APL WS that had functions for unzipping files and another WS for reading .csv files into the ws as a nested matrix?

does anyone know where I might have seen 'em and point me to 'em
User avatar
giangiquario
Posts: 46
Joined: Thu Nov 26, 2009 8:55 am
Location: Milano, Italia

Re: Just imagining CSV and ZIP workspaces?

Post by giangiquario »

ZIP files

Please see the attached ZIP file.
Attachments
GianluigiQuario_Elsinore2008.zip
it contains wspace and help
(223.01 KiB) Downloaded 1486 times
User avatar
Morten|Dyalog
Posts: 460
Joined: Tue Sep 09, 2008 3:52 pm

Re: Just imagining CSV and ZIP workspaces?

Post by Morten|Dyalog »

CSV:

      )load loaddata
C:\Program Files\Dyalog\Dyalog APL 13.0 Unicode\ws\loaddata saved Fri Apr 01 00:30:10 2011
)fns
LoadHTMLTable LoadSQL LoadTEXT LoadXL LoadXML
SaveSQL SaveTEXT SaveXL SaveXML
TestSQL TestXML

SaveTEXT (3 4⍴⍳12) 'c:\temp\iota12.csv'
0
⎕USING←''
System.IO.File.ReadAllText⊂'c:\temp\iota12.csv'
1,2,3,4
5,6,7,8
9,10,11,12
LoadTEXT 'c:\temp\iota12.csv'
1 2 3 4
5 6 7 8
9 10 11 12
tclviiidyalog
Posts: 17
Joined: Tue Apr 26, 2011 1:03 pm

Re: Just imagining CSV and ZIP workspaces?

Post by tclviiidyalog »

thank you Gianluigi and Morten . . . I'll try these out just a soon a I'm back home
Post Reply