On Tue, Dec 5, 2017 at 9:11 AM, chris burke <[email protected]> wrote:
> You could either define foo without rank and call it with rank, or use two
> named definitions and stop both of them:
>
> goo=: 3 : 0
> ...
> )
>
> foo=: goo "0

Yes.

Another thing that can be handy, in debugging, is to annotate the
progress of the explicit verb with echo statements.

I am particularly fond of things like

name=:3 :0
  echo 'val';val=. ...
  echo 'var';var=. ...
  ...
)

Generally speaking: an important part of debugging is seeing what's
happening. And another part has to do with willingness to try small
changes in the code.

Thanks,

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

Reply via email to