On 2007.10.11 03:17:35, you,
 the extraordinary metaperl.j, emitted:

> Does J have a mode in which data is represented in a way that can be parsed
> back in to recreate the data?
 
5!:5 does this. For example:

   'a b c d'=: 56;(1$56);(1 1$56);1 1 1$56
    5!:5&.><"0 'a';'b';'c';'d'
+--+---+----+--------+
|56|,56|,.56|1 1 1$56|
+--+---+----+--------+
   ". &.>  5!:5&.><"0 'a';'b';'c';'d'
+--+--+--+--+
|56|56|56|56|
+--+--+--+--+
   a;b;c;d
+--+--+--+--+
|56|56|56|56|
+--+--+--+--+
5!:5 does this. For example:

   'a b c d'=: 56;(1$56);(1 1$56);1 1 1$56
    5!:5&.><"0 'a';'b';'c';'d'
+--+---+----+--------+
|56|,56|,.56|1 1 1$56|
+--+---+----+--------+
   ". &.>  5!:5&.><"0 'a';'b';'c';'d'
+--+--+--+--+
|56|56|56|56|
+--+--+--+--+
   a;b;c;d
+--+--+--+--+
|56|56|56|56|
5!:5 does this. For example:

   'a b c d'=: 56;(1$56);(1 1$56);1 1 1$56
    5!:5&.><"0 'a';'b';'c';'d'
+--+---+----+--------+
|56|,56|,.56|1 1 1$56|
+--+---+----+--------+
   ". &.>  5!:5&.><"0 'a';'b';'c';'d'
+--+--+--+--+
|56|56|56|56|
+--+--+--+--+
   a;b;c;d
+--+--+--+--+
|56|56|56|56|
5!:5 does this. For example:

   'a b c d'=: 56;(1$56);(1 1$56);1 1 1$56
    5!:5&.><"0 'a';'b';'c';'d'
+--+---+----+--------+
|56|,56|,.56|1 1 1$56|
+--+---+----+--------+
   ". &.>  5!:5&.><"0 'a';'b';'c';'d'
+--+--+--+--+
|56|56|56|56|
+--+--+--+--+
   a;b;c;d
+--+--+--+--+
|56|56|56|56|
5!:5 does this. For example:

   'a b c d'=: 56;(1$56);(1 1$56);1 1 1$56
    5!:5&.><"0 'a';'b';'c';'d'
+--+---+----+--------+
|56|,56|,.56|1 1 1$56|
+--+---+----+--------+
   ". &.>  5!:5&.><"0 'a';'b';'c';'d'
+--+--+--+--+
|56|56|56|56|
+--+--+--+--+
   a;b;c;d
+--+--+--+--+
|56|56|56|56|
+--+--+--+--+
+--+--+--+--+
+--+--+--+--+
+--+--+--+--+

-- 
Nollaig MacKenzie
http://www.yorku.ca/nollaig
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to