[Jprogramming] Clipboard in J701

bill lam bbill.lam at gmail.com
Mon Feb 21 12:18:18 HKT 2011


What is result of wdclipread in J602 reading a 2x2 block of cells where one
of them is multi-line?  I suspect it uses CRLF ending.

Вск, 20 Фев 2011, Tom Arneson писал(а):
> Here's what I get with a clipboard copy of an Excel cell containing
> 
> test
> 123
> 
> 
> JVERSION
> Engine: j701/2011-01-10/11:25
> Library: 7.01.045
> Platform: Win 32
> Installer: j701a_win.exe
> InstallPath: c:/documents and settings/tom/j701
> 
>    clipread''
> "test
> 123"
> 
> 
>   a.i. clipread''
> 34 116 101 115 116 10 49 50 51 34 10
> 
> NB. Cell containing tom
> 
>    clipread''
> tom
> 
>    a.i.clipread''
> 116 111 109 10
> 
> NB. Cell containing 5678
> 
>    a.i.clipread''
> 53 54 55 56 10
>    clipread''
> 5678
> 
> 
> -----Original Message-----
> From: programming-bounces at jsoftware.com
> [mailto:programming-bounces at jsoftware.com] On Behalf Of bill lam
> Sent: Sunday, February 20, 2011 21:14
> To: programming at jsoftware.com
> Subject: Re: [Jprogramming] Clipboard in J701
> 
> gtk clipread/clipwrite verbs coerce to host line ending.  But IIRC clipboard
> from Excel with cells containing multi-line texts, those individual lines
> are delimited by a solo CR or LF.  Current clipread may raise error when
> reading clipboard from Excel. Can someone confirm this?
> 
> -- 
> 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
> 
> 
> ----------------------------------------------------------------------
> 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


More information about the Programming mailing list