OK, found it.
http://www.jsoftware.com/pipermail/programming/2007-April/006067.html
http://www.jsoftware.com/jwiki/OlegKobchenko/Session_Prompt
The above snippet can pasted into a new
J window and run, or into jconsole, or loaded like below.
load 'd:\math\j601\temp\8.ijs'
main''
6-8 = -2
Correct!
12*8 = 96
Correct!
3*12 = 1
Wrong
--- Oleg Kobchenko <[EMAIL PROTECTED]> wrote:
> Don't listen to those comments. This is a very
> good practice. If fact I remember writing a simple
> Q/A session script for some game or something -- in
> these forums but I cannot locate it now.
>
> The idea is: session uses smprompt which will
> tweak the window text and strip output and jconsole
> has a pattern like:
>
> 'Thanks ', 1!:1] 1 [ 1!:2&4 'Name: '
> Name: Foo
> Thanks Foo
>
>
> In fact it's already done in "prompt" verb in 'misc' script.
>
> http://www.jsoftware.com/help/user/script_misc.htm#prompt
>
>
> --- "Shaw, Ewart" <[EMAIL PROTECTED]> wrote:
>
> > Thanks Dan.
> >
> > I agree with you that
> > > if you read the comments you can see that at least some of us think
> > > user-prompting like this is poor practice and should be avoided: ...
> >
> > The reason I asked is that I'm tidying up old scripts, and came across
> > http://www.ewartshaw.co.uk/j3dnc.html
> > which I would like to see working again, if only for nostalgic reasons.
> >
> > Regards, Ewart
> >
> > J.E.H.Shaw http://www.warwick.ac.uk/statsdept
> > Ewart Shaw http://www.ewartshaw.co.uk
> >
> > ----------------------------------------------------------------------
> > For information about J forums see http://www.jsoftware.com/forums.htm
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm