http://www.jsoftware.com/help/jforc/declarations.htm mentions

     The display of a rank-2 array with no items is different: here we have 
zero lists, so we should expect no lines at all.  This is indeed what happens:

       0 0$0

    (there is no blank line).  This is the result you should produce if you 
want a function to display nothing.

I think of "0 0 $ y" as "cast to void" rather than a no-op: the argument gets 
evaluated, but not used.

                        ... peter

On 04/18/13 09:40, Greg Borota wrote:
When you load jconsole with no profile, .0 0[A[B is the sentence executed
upon start-up. where A are stands for setting ARGV_z_ and B for setting
BINPATH_z_.

I am guessing the resulting i. 0 0 is just a way of simulating what in
other languages would be known as NoOp. If that's the case indeed, what are
there other constructs to get the same end result?
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

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

Reply via email to