On Mon, Apr 25, 2011 at 11:31 PM, Arthur Anger <[email protected]> wrote:
> Joey Tuttle asked for a specific example of problems I recently encountered:
>
> cdir
> 0 2
> ] bdysegs=: 2 ]/\ (|.`]`] @. (1+ * gsegssti) gsegssti){ creg
> 0 2
> 2 2
> ] bdirs=: (2* * cdir),: - -/"1 bdysegs
> 0 2
> _10796040 0
> bdysegs
> 10796040 0
> 0 0
>
> I think I have seen successive requests for the value of one of these
> variables
> report different values, but I have not now repeated that effect beyond what
> shows here.
Unfortunately, this is not a complete example:
] bdysegs=: 2 ]/\ (|.`]`] @. (1+ * gsegssti) gsegssti){ creg
|syntax error
Without the full definitions of the names you are using (and that
probably includes the rank of cdir), we cannot hope to attempt to
reproduce this issue.
Thanks,
--
Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm