Sorry I forgot to say that sco  represents  
1!:2&2

The operating system is windows XP and I am running J 601a



cheers
 
Roelof  
 
Contact information
 
Dr. Roelof K. Brouwer PEng
Professor
Department of Computing Science
School of Advanced Technologies and Mathematics
Thompson Rivers University
900 McGill Road, PO Box 3010
Kamloops, BC, Canada,V2C 5N3
 
skype RoelofBrouwer
telephone numbers
1-250 828 5219 work
1-250-374-5874 home
1-250-377-6133 fax
home page www.tru.ca/advtech/compsci/faculty/rbrouwer
email [EMAIL PROTECTED]
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Miller, Raul D
Sent: January 7, 2007 5:10 PM
To: General forum; General forum
Subject: RE: [Jgeneral] keyboard input

Roelof K. Brouwer wrote:
> The function below causes J to wait for input as expected and gives me
>    temp 0
> continue for more iterations ? put in y for yes

I get
|value error: sco
 
However, setting sco=: smoutput fixes that problem.

> When I include the code inside the verb in another verb  I get the
> following . J does not wait for input
 
I do not experience this problem.
 
Sample session:
 
   foo=:3 :0
 temp 0
)
   foo''
 continue for more iterations ? put in y for yes
y
 answer received
 new total number of iterations
6
 
Perhaps you could be more specific about what you are doing?  (Including
OS and which executable you are running.)
 
Thanks,
 
-- 
Raul

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

Reply via email to