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 !

Just imagining CSV and ZIP workspaces?

Postby tclviiidyalog on Thu May 12, 2011 1:52 pm

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
tclviiidyalog
 
Posts: 17
Joined: Tue Apr 26, 2011 1:03 pm

Re: Just imagining CSV and ZIP workspaces?

Postby giangiquario on Thu May 19, 2011 3:57 pm

ZIP files

Please see the attached ZIP file.
Attachments
GianluigiQuario_Elsinore2008.zip
it contains wspace and help
(223.01 KiB) Downloaded 637 times
User avatar
giangiquario
 
Posts: 46
Joined: Thu Nov 26, 2009 8:55 am
Location: Milano, Italia

Re: Just imagining CSV and ZIP workspaces?

Postby Morten|Dyalog on Fri May 20, 2011 9:44 am

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
User avatar
Morten|Dyalog
 
Posts: 453
Joined: Tue Sep 09, 2008 3:52 pm

Re: Just imagining CSV and ZIP workspaces?

Postby tclviiidyalog on Wed May 25, 2011 4:41 pm

thank you Gianluigi and Morten . . . I'll try these out just a soon a I'm back home
tclviiidyalog
 
Posts: 17
Joined: Tue Apr 26, 2011 1:03 pm


Return to APL Chat

Who is online

Users browsing this forum: No registered users and 1 guest