That's what I get when I run the code line-by-line.

But when I load the script, I get this behavior:

test:123
|spelling error (invalid inflection)
|   test:123
|   ^

Note that I'm on a windows machine here. Linux may behave differently.
I should have specified my use of windows (windows 11) in my initial
post.

Thanks,

-- 
Raul

On Tue, Aug 15, 2023 at 10:48 AM chris burke <cbu...@jsoftware.com> wrote:
>
> Did you make an entry after the prompt? On my machine, after entering 123:
>
>    abc=: prompt'test'
> test123
>
>    abc
> 123
>
> On Tue, Aug 15, 2023 at 7:38 AM Raul Miller <rauldmil...@gmail.com> wrote:
> >
> > This script fails when loaded in jqt (tested in j9.4 and the current j9.5 
> > beta):
> >
> > require'general/misc/prompt'
> > abc=: prompt'test:'
> > echo abc
> >
> > In a sense it fails silently. But it's a rather noisey form of silence.
> >
> > --
> > 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
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to