Is this what you want?

   tit=. 'Some title'
   txt=. 'Some text'
   wd 'mb "',tit,'" "',txt,'"'


On 2/18/08, Hahn, Harvey <[EMAIL PROTECTED]> wrote:
>
> I don't have time to wait until I get home (aka packrat) to ask this
> question, and so I'm posting this message from work:
>
> The "wd commands" subchapter and the "Common Dialog Boxes" chapter in the
> "Window Driver" section of the "User Manual" together provide some guidance
> in creating dialog boxes:  wd 'mb title text'.  Lacking specific examples,
> it took me some time experimenting to realize that the following was one way
> of how this might look in actual practice:
>    (1) wd 'mb "This is the title" "This is the displayed text"'
>
> Or, if the mb command and its parameters are assigned to, say, str:
>    (2) str =: 'mb "This is the title" "This is the displayed text"'
>        wd str
>
> However, I can't seem to figure out (i.e., make it work!) how to
> incorporate variable names instead of literal strings into either of the
> above two examples.  Is this possible, and, if so, how?  Thanks!
>
> Harvey
>
> --
> ===========================================
> Harvey E. Hahn, Manager, Technical Services Department
> Arlington Heights (Illinois) Memorial Library
> 847/506-2644 - FX: 847/506-2650 - Email: hhahn(at)ahml(dot)info
> OML & Scripts web pages: http://www.ahml.info/oml/
> Personal web pages: http://users.anet.com/~packrat
>
> ----------------------------------------------------------------------
> 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