Raul,
When I copy your code into a script file & load it, example, e1, e2, &
e3 are defined according to names ''.
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.


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Miller, Raul D
Sent: Wednesday, 14 February 2007 12:16
To: Programming forum
Subject: RE: [Jprogramming] Possible to nest multiline noun
definitionwithinverb definition?

The following will define one verb and three different nouns.
Each of the nouns will consist of a line of text terminated by a line
feed character.

example=:3 :0
 0 :0
)

e1=: example 1
 this is a test
)

e2=: example 2
 so is this
)

e3=: example 3
 as is this
)


More specifically, the effect of a valid n :0 happens when it's
executed, not when it's defined.

Note also that indentation of any of the above lines will not change the
validity of the above description (that said, indentation of the text
will result in more whitespace at the start of that text.

--
Raul

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