At 3:29 pm -0500 19/03/01, Ronald J Kimball wrote:
>  > So far as I can see it is a bug in LowMem.
>
>Actually, according to the explanation John Baxter posted, each section
>must use an even number of bytes.  This means there will be an extra
>padding byte added to a section whose length is odd.
>
>I think adding a line to your code should fix this bug:
>      $len % 2 and $len++;


Yesss. Of course. I missed the point again. Thanks.

With that line your original script runs fine.

I had a heap of files with one-line styled text examples to dump into 
the clipboard. Every single one had an odd number of characters. 
Grrrr...

Alan Fry

Reply via email to