You may inspect source code for clipwrite. If you had set up jtags, it may
located by placing cursor over the word 'clipwrite' and then press ctrl-]
in gtkide. or type
ta 'clipwrite'
in jconsole.
Сбт, 19 Фев 2011, Mike Day писал(а):
> When running jconsole in J701 under Windows
> Vista I find that require'gtk' doesn't work.
>
> It seems to need a fuller path,
> require'~addons\gui\gtk\gtk.ijs'
>
> After fixing this, & running jconsole from a Windows
> batch file, the clipboard appears to be empty after
> calling clipwrite on a non-empty array.
>
> NB. eg clipping a boxed vector
> 3{.OUT
> +-------+-------+------+
> |1200.00|1843.00|408.38|
> +-------+-------+------+
> clipwrite OUT
> 127
>
> NB. or a character string
> ":;".each 3{.OUT
> 1200 1843 408.38
> clipwrite ":;".each 3{.OUT
> 16
>
> I have clipped these from the jconsole session,
> but I can't of course clip the apparently empty
> clipboard contents!
>
> Thanks for any help, and usual apologies for
> missing the obvious, my mistakes etc ....
>
> Mike
>
> On 02/02/2011 03:48, bill lam wrote:
> > These verbs are provided by gtk addons, if you run jconsole, you need to
> > load gtk before using them,
> >
> > require'gtk'
> > gtkinit_jgtk_''
> > clipwrite 'abc'
> > 3
> > clipread ''
> > abc
> >
> > Note that it cannot run without x11 in linux.
> >
> > Втр, 01 Фев 2011, Leigh J Halliwell писал(а):
> >> I can find no 'clipread' and 'clipwrite' functions in the locales or in the
> >> scripts. Where are they?
> >>
> >> -----Original Message-----
> >> From: [email protected]
> >> [mailto:[email protected]] On Behalf Of chris burke
> >> Sent: Tuesday, February 01, 2011 6:37 PM
> >> To: Programming forum
> >> Subject: Re: [Jprogramming] Clipboard in J701
> >>
> >> clipread/clipwrite. No "wd" since there is no wd in J701.
> >>
> >> On Wed, Feb 2, 2011 at 7:04 AM, Leigh J. Halliwell<[email protected]>
> >> wrote:
> >>> Dear J Forum:
> >>>
> >>> How does one use the Windows clipboard in J701? What has replaced
> >>> wdclipread and wdclipwrite, so that I can pass data to and from J with the
> >>> clipboard? Thanks.
> >> ----------------------------------------------------------------------
> >> For information about J forums see http://www.jsoftware.com/forums.htm
>
> ----------------------------------------------------------------------
> 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