Can't Decompress
Mark Schonewille
m.schonewille at economy-x-talk.com
Sat Apr 29 14:57:09 EDT 2006
Hi Bill,
Is saveFolder defined, in the script of button 2?
Best,
Mark
--
Economy-x-Talk
Consultancy and Software Engineering
http://economy-x-talk.com
http://www.salery.biz
Salery is the easiest way to get your own web store on-line: http://
www.salery.biz/salery.html
Op 29-apr-2006, om 20:49 heeft Bill Marriott het volgende geschreven:
<snip>
> Button 2
> --------
> on mouseUp
> put "D:\Desktop\Put It Here" into loadFolder
> put "My Data File.xyz" into loadFileName
> put "binfile:" & saveFolder & "\" & loadFileName into loadURL
>
> put decompress(URL loadURL) into URL loadURL
> put URL loadURL into fld 1
> end mouseUp
>
> I've put the stack up on RevOnline for you to try. User MerryOtter.
>
> Clicking Button 1 saves a file that is compressed properly. (I can
> even
> extract it with 7zip). Clicking Button 2 gives me the error:
>
> Type: decompress: string is not compressed data
> Object: Button 2
> Line: put decompress(URL loadURL) into URL loadURL
>
> What am I doing wrong? No matter what I do I can't get decompress
> to work.
> Rev 2.6.1 on Windows XP. (I hope I'm not missing something basic
> like I did
> with my last post...)
More information about the use-livecode
mailing list