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