'prompt' 1!:2 [ 4
  1!:1 ] 1

is what should work in console.

doing similar in a J gui is dependent on what J is being used.
There was a variation available for J6 and the session manager there.
In JHS and GTK the methods are a bit different,

2011/12/31 bill lam <bbill....@gmail.com>

> I'm puzzled. If prompt works for you, why 1!:1]1 didn't?
>
> Сбт, 31 Дек 2011, PackRat писал(а):
> > Devon McCormick wrote:
> > > Have you looked at this:
> > > www.jsoftware.com/jwiki/RicSherlock/Temp/InteractivePrompt ?
> >
> > Thank you VERY much!
> >
> > I wish someone along the line had merely said something like, "Have you
> > tried the 'prompt' verb in the 'misc' library?"  That verb is exactly
> > what I was looking for in terms of user input, and it works fine to do
> > what I wanted.  I didn't even know it existed.  (This is where an index
> > or annotated list of ALL library verbs in the J system available to a
> > programmer would be of great use.)
> >
> > Just a word about my desiring this style of user input/output.  I KNOW
> > that a GUI interface is better, and that's eventually where I want to
> > go with it.  But I was trying to follow the J programming paradigm
> > where you get the program logic right first, and then flesh it out.
> > That's why I wanted to use the quick and dirty approach for user
> > input/output to get the whole thing working right as quickly as
> > possible (without using valuable programming time for the effort
> > necessary to get GUI aspects just right).  Once I know the code is
> > working, then I can go back and make it look fancier.
> >
> >
> > Harvey
> >
> > ----------------------------------------------------------------------
> > For information about J forums see http://www.jsoftware.com/forums.htm
>
> --
> regards,
> ====================================================
> GPG key 1024D/4434BAB3 2008-08-24
> gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>



-- 
Björn Helgason, Verkfræðingur
Fornustekkum II
781 Hornafirði,
t-póst: gos...@gmail.com
gsm: +3546985532
twitter: @flugfiskur
http://groups.google.com/group/J-Programming


Tæknikunnátta höndlar hið flókna, sköpunargáfa er meistari einfaldleikans

góður kennari getur stigið á tær án þess að glansinn fari af skónum
          /|_      .-----------------------------------.
         ,'  .\  /  | Með léttri lund verður        |
     ,--'    _,'   | Dagurinn í dag                     |
    /       /       | Enn betri en gærdagurinn  |
   (   -.  |        `-----------------------------------'
   |     ) |         (\_ _/)
  (`-.  '--.)       (='.'=)   ♖♘♗♕♔♙
   `. )----'        (")_(") ☃☠
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to