Re: [Jprogramming] Boxed tables in j component files

2017-02-08 Thread chris burke
> I got it. The boxed arrays needed to be boxed before the jappend and unboxed after the jread. You can think of a jfile as storing a boxed list. When writing, an open noun is first boxed, otherwise a boxed list is treated as several items to be written to individual components. Similarly, reading

Re: [Jprogramming] Boxed tables in j component files

2017-02-07 Thread Tom Arneson
LAG0-:FLAG 1 OWNED0-:OWNED 1 -Original Message- From: Programming [mailto:programming-boun...@forums.jsoftware.com] On Behalf Of Tom Arneson Sent: Tuesday, February 7, 2017 21:21 To: programming@forums.jsoftware.com Cc: programm...@jsoftware.com Subject: [Jprogramming] Boxed tables in j compo

[Jprogramming] Boxed tables in j component files

2017-02-07 Thread Tom Arneson
I'm trying to save 2 boxed tables of literal data in a component file, and then read them back into J. I've tried converting the tables to binary with 3!:1 and then creating a component file with jcreate and using jappend to write to the jfile. This process seems to work OK. When I try to re