Just to clarify for everyone, the take-home message for Bob's original query
is that the first line of his function "graph_aparm_button" should be
something like this:
 a=. ".aparm

On 3/11/08, Eric Iverson <[EMAIL PROTECTED]> wrote:
>
> wd'q' should never be used (except for the use in wdhandler). wd'qd' is
> also
> very rarely required. In an event wd'qd' just returns all the info that
> wdhandler has already set for you. The only use of wd'qd' would be to get
> info from a form other than the one with the event. And even there it
> would
> generally be better to have that info collected and saved in events on
> that
> form.
>
>
> ----- Original Message -----
> From: "bill lam" <[EMAIL PROTECTED]>
> To: "Programming forum" <[email protected]>
> Sent: Tuesday, March 11, 2008 11:16 AM
> Subject: Re: [Jprogramming] Forms and Plots again
>
>
>
> > Just as Eric said, aparm has already set for you by wdhandler. And
> because
> > wd'q' for that event has already been consumed by wdhandler. When you
> call
> > wd'q' again and because there is no pending event therefore it raise an
> > error. However if you are interested in what the event data were, you
> may
> > still get it by wd'qd', eg.
> >
> > graph_aparm_button =: 3 : 0
> > 1!:2&2 wd'qd'
> > a=. ". aparm     NB. aparm is a string
> > wd 'set values *','A = ',": a+0.25
> > ....
> >
> > ----------------------------------------------------------------------
> > For information about J forums see http://www.jsoftware.com/forums.htm
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>



-- 
Devon McCormick, CFA
^me^ at acm.
org is my
preferred e-mail
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to