Just a note:
My methodology for decompress() is to
try
put decompress(var) into var
end try
This will move smoothly through your script flow.
Jim Ault
Las Vegas
On Dec 1, 2010, at 4:06 PM, Mark Schonewille wrote:
Hi Ton,
Mainstack.app is a folder! Right-click on it and choose "Show Packet
Contents" from the popup menu. You should find your substack if you
dig deeper in the nested folders inside Mainstack.app.
You may *think* that you are decompressing compressed data, but if
Rev tells you it isn't compressed, then there is a problem with the
data for sure. You might want to add a few checks, e.g. to make sure
that the variable is not empty and that it actually contains the
data you expect it to contain. You might write the data to a file
right before executing the decompress function and check what is in
that file.
On 2 dec 2010, at 00:45, Ton Cardona wrote:
Dear friends,
what I still do not understand, in spite of your kind reactions and
hints, is why, after compiling, I get a stack.exe and a
substack.rev in Windows (both working perfectly), but only a
mainstack.app in Mac.
As to the error reports, they do not seem to be related:
141,91,17
465,91,1
that is, "string is not compressed data", which it certainly is
both in Windows and in Mac (before compiling).
I believe this is quite odd and look forward to your insights.
Cheers to you all,
Ton
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode