[Jprogramming] Possible to nest multiline noun definition within verb definition?

Sherlock, Ric R.G.Sherlock at massey.ac.nz
Wed Feb 14 08:46:05 HKT 2007


Aha!!
Thanks for clearing that up.
I'm sure I'm being dense but I can't work out how the code you sent
would help me define a multiline noun that is _local_ to the verb in
which it is defined. So I can work with the noun while the verb is
executing but once


Ric

-----Original Message-----
From: programming-bounces at jsoftware.com
[mailto:programming-bounces at jsoftware.com] On Behalf Of Miller, Raul D
Sent: Wednesday, 14 February 2007 13:08
To: Programming forum
Subject: RE: [Jprogramming] Possible to nest
multilinenoundefinitionwithinverb definition?

Ric Sherlock wrote:
> But when I execute
> example '' 
> I get the same behaviour I described before - I can interact with J
but
> not "do" anything and have to "End Task" it from the Task Manager.

(Note: the argument to example is irrelevant.)

When you enter example'', J executes 0 :0

In other words, it's waiting for a closing )

To regain control of the system, enter a ) on a line by itself.

Hopefully, future versions of J will be a bit more pleasant in this
circumstance.  (Ideally: title bar or cursor or something indicates that
J is waiting for the block to be closed, and menu works normally.)

--
Raul

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



More information about the Programming mailing list