I guess "wd'set text *',TXT" is executed as v (n v v) so result is a verb in J601. It has been suggested to raise an error if there is a orphan verb that is not assigned to a name within explicit definitions. but Roger Hui ruled it out. I still wish this can be done perhaps provide an additional switch to turn if off just like "assert." to catch bugs that are hard to spotted during development.

David Mitchell wrote:
I found two problems with the Debug lab in J601M beta.

The first was 3 of 27, which says:

  "The ? button on the Debug toolbar displays the Debug Help file."

I couldn't find a "?" button on the Debug toolbar.

The second problem was 16 of 27:

  "The display should show goo suspended at line 2, with a syntax error."

Line 2 of goo was

wd'set text *',TXT

where TXT is not defined, which, as a single sentence, resulted in:

+--+------------------+
|wd|+----------+-+---+|
|  ||set text *|,|TXT||
|  |+----------+-+---+|
+--+------------------+

In J504, the result of the sentence alone was:

|domain error: wd
|       wd'set text *',TXT

in a script, the result was:

|syntax error: goo
|       wd'set text *',TXT

Lorin Lund first reported this change 2005/12/22.

David Mitchell


----------------------------------------------------------------------
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