On 4/12/07, Terrence Brannon <[EMAIL PROTECTED]> wrote:
rank2 =: i. 1 2 rank1 =: 0 1
...
2 - visual - J makes no visual distinction between these two things - they look the same on your screen. I'm disturbed by this.
J's default display mechanism does not report all information. If it did, literal strings would be displayed with quotes. Instead, we have: string=:'0 1' string 0 1 If you want different representation, you can use members of the 5!: family of foreigns which take names as arguments. For example 5!:5<'rank1' 0 1 5!:5<'rank2' i.1 2 5!:5<'string' '0 1'
3 - memory requirements - I think the equivalent C language data structures are: rank2[1][2] rank1[2] Is that correct?
Yes, except that C data is not self-identifying. -- Raul ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
