[Jprogramming] Possible to nest multilinenoundefinitionwithinverbdefinition?

Don Guinn donguinn at pvtn.net
Thu Feb 15 04:14:19 HKT 2007


The debugger is almost there. I entered a tacit definition with an
anonymous explicit definition inside. When I looked at it with the
debugger it displayed the entire definition but it was all on one line
with funny separators between the original lines.

db=: 3 : 0"0
+y
|:y
)

The line on the debugger was:

[0] 3 : 0"0+y|:y)

The line separator appears to be 1{a. .

On 2/14/07, Miller, Raul D <rdmiller at usatoday.com> wrote:
> Another approach to working around the debugger's
> lack of support for tacit definitions would be
> to provide a "debugging" definition for define:
>
> debugid=:0
> define=:1 :0
>  name=.'debugid',":debugid=:debugid+1
>  (name)=:m :0
>  name
> )
>
> That said, it seems like some more debugging
> support for tacit definitions (perhaps only
> for the case where the tacit verb is completely
> restartable) would be a good thing.
>
> --
> Raul
>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
>


More information about the Programming mailing list