Hi,

I just started to learn J and some kdb/q in the meantime (with a Smalltalk
background but not a programmer). In q I've learned to read a kind of binary
formatted historical price data file, which contains 8 4 byte int data for
each record, using:

 list: ("iiiiiiii";4 4 4 4 4 4 4 4) 1: `:path/filename

and this will give me a list of data of the entire file. (For those not
familiar with q, 1: reads binary file, and i stands for int type in q, while
4 means a field is 4 byte in size).

I've not finished reading yet but my quick going through the J books for
about 13 hours doesn't give me a quick solution in J. I think it might be
wise to ask for help here. (By the way, I was reading into 3 o'clock this
morning, here in China, Remembering Ken Iverson, by Roger Hui ...)

Thanks in advance for any advice.

Best Regards,

Emp 
-- 
View this message in context: 
http://www.nabble.com/-newbie-how-to-read-binary-formatted-file-tp25073648s24193p25073648.html
Sent from the J Chat mailing list archive at Nabble.com.

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to