Lynch, Jonathan wrote:

But then, why would it stop around 2 or 3 K - and why would it only do
it occassionally?



You said the string is 60 - 70 thousand chars. So I figured maybe up to 65536 works OK, and over that you are getting some kind of field-wrapping effect, and getting only the amount BEYOND the 65536 limit.

But it was only a guess :-) There are some other limits (see docs / Topics / Containers, variables, etc. / Memory limits) that could perhaps be relevant.
-- Alex.


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alex
Tweedly
Sent: Wednesday, January 26, 2005 10:09 AM
To: How to use Revolution
Subject: Re: Question regarding the clipboard

Lynch, Jonathan wrote:



Hello...

I have a problem that occurs about one in ten times. I have a long
string, like around 60 - 70 thousand characters. It is necessary to
remove all of the linefeeds from this string. After I remove the
linefeeds, I put the string into the clipboard.

Usually, it works just fine. But occassionally, it only places the


first


2 or 3 thousand characters on the clipboard.

Each card in my stack contains a bunch of news articles, that are
combined and given html formatting. For a given card, if it has this
problem, then it will have it every single time. But the next day, with
a new set of news articles and a new card, it probably won't have this
problem.

By sitting here and playing with one of the cards in which this problem
occurs, I have determined that the string still retains all of its
characters.


Thus, the problem lies in setting the clipboardData to the string. Can
anyone imagine a reason why the clipboardData wouldn't take the whole
thing (but only occassionally)?




There's a limit of 65,536 characters in a line within a field. I wonder if the clipboard counts as a field for this purpose ?

-- Alex.






No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.7.4 - Release Date: 25/01/2005
_______________________________________________
use-revolution mailing list
[email protected]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to