problem with decompress()

Mark Brownell gizmotron at earthlink.net
Sun Aug 15 15:16:06 EDT 2004


On Sunday, August 15, 2004, at 12:11 PM, jbv wrote:

> Could someone be kind enough to explain why the following script :
>
> on mouseUp
>   get compress(myVar)
>   put it into fld 1
>   get fld 1
>   put decompress(it)
> end mouseUp



I would use put compress(myVar) into myVar2 & put decompress(myVar2) 
into myVar3

Watch out for lines of long lengths in fields. It's either 32kbts or 
64kbts lengths that mess things up when fields are used as storage 
containers.

Mark



More information about the use-livecode mailing list