If you want to create you own form
use file/new ijs
edit/form editor

JJ=: 0 : 0
pc jj;
menupop "File";
menu new "&New" "" "" "";
menu open "&Open" "" "" "";
menusep;
menu exit "&Exit" "" "" "";
menupopz;
xywh 136 8 44 12;cc ok button;cn "OK";
xywh 136 23 44 12;cc cancel button;cn "Cancel";
xywh 48 49 50 10;cc kk static;cn "";
pas 6 6;pcenter;
rem form end;
)

jj_run=: 3 : 0
wd JJ
NB. initialize form here
wd' set kk *hallo'
wd 'pshow;'
wd' set kk *hallo world'
wd 'pshow;'
)

jj_close=: 3 : 0
wd'pclose'
)

jj_cancel_button=: 3 : 0
jj_close''
)

jj_run''

jj_ok_button=: 3 : 0
wd' set kk *hallo'
wd 'pshow;'

wd' set kk *hallo palli'
wd 'pshow;'
)


2006/3/31, Thomas Costigliola <[EMAIL PROTECTED]>:
>
> I can see wdstatus writes a string to the status window. So, one thing I
> could do is read a script in as a file and execute it sentence by sentence
> formatting the result as a string and put it in the status window.
>
> But my problem is different. Consider the script I want to run is
> encrypted. It is a blackbox. But with various (1!:2) calls at certain points
> the sentence. I want to see the output of those on the screen in a window
> that I created, not using the standard J session. Additionally I want to see
> the output of each sentence in the script as if I did a noisy 0!:0.
>
>
> >From: =?ISO8859-1?Q?Bj=F6rn_Helgason?= <[EMAIL PROTECTED]>
> >Date: Fri Mar 31 15:13:26 CST 2006
> >To: Programming forum <[email protected]>
> >Subject: Re: RE: [Jprogramming] (1!:2)&2 i.e. "Screen"
>
> >It is
> >I was using it now
> >
> >2006/3/31, David Vincent-Jones <[EMAIL PROTECTED]>:
> >>
> >> not sure that wdstatus is implemented in the beta at this time ..
> >>
> >> -----Original Message-----
> >> From: [EMAIL PROTECTED]
> >> [mailto:[EMAIL PROTECTED] On Behalf Of Björn Helgason
> >> Sent: Friday, March 31, 2006 11:39 AM
> >> To: Programming forum
> >> Subject: Re: RE: [Jprogramming] (1!:2)&2 i.e. "Screen"
> >>
> >>
> >> you may want to look at wdstatus
> >>
> >> 2006/3/31, Thomas Costigliola <[EMAIL PROTECTED]>:
> >> >
> >> > I am bulding a stand-alone program (running with "-jprofile
> >> > myprogram.ijs"). Can this be used to write the output of running a
> >> > script to an ijx window I create myself? I have been looking at
> >> > jijs.ijs but I cuold not figure out how the sessions knows that
> >> > (1!:2)&2 should write to the ijx window. Is this hard coded? If so
> >> > how, how exectly is the ijx window identified by internally?
> >> >
> >> >
> >> >
> >> > >From: "Miller, Raul D" <[EMAIL PROTECTED]>
> >> > >Date: Fri Mar 31 12:43:46 CST 2006
> >> > >To: Programming forum <[email protected]>
> >> > >Subject: RE: [Jprogramming] (1!:2)&2 i.e. "Screen"
> >> >
> >> > >Thomas Costigliola wrote:
> >> > >> What exactly is the "screen"?
> >> > >
> >> > >stdout on a console session, or the ijx window in a windowed
> session.
> >> > >
> >> > >--
> >> > >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
> >> >
> >>
> >>
> >>
> >> --
> >> Björn Helgason, Verkfræðingur
> >> Fugl&Fiskur ehf, Þerneyjarsund 23,
> >> Skype: gosiminn, gsm: +3546985532
> >> 801 Grímsnes ,t-póst: [EMAIL PROTECTED]
> >> 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
> >>
> >>
> >> ----------------------------------------------------------------------
> >> For information about J forums see http://www.jsoftware.com/forums.htm
> >>
> >
> >
> >
> >--
> >Björn Helgason, Verkfræðingur
> >Fugl&Fiskur ehf, Þerneyjarsund 23,
> >Skype: gosiminn, gsm: +3546985532
> >801 Grímsnes ,t-póst: [EMAIL PROTECTED]
> >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
>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>



--
Björn Helgason, Verkfræðingur
Fugl&Fiskur ehf, Þerneyjarsund 23,
Skype: gosiminn, gsm: +3546985532
801 Grímsnes ,t-póst: [EMAIL PROTECTED]
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