probably really simple
Alex Tweedly
alex at tweedly.net
Tue Jul 19 11:57:24 EDT 2005
Brad Borch wrote:
> I want to save out a compressed copy of the stack. How do I reference
> the stack as a file? I tried
>
> "put compress(URL "file:" & the effective filename of this stack) into
> url myFilePath"
>
> but that just saves the string.
When you use "URL", you need to be sure that the expression following it
is a single expression - it's safest to parenthesize it, as in
put compress(URL ("file:" & the effective filename of this stack))
into url myFilePath
otherwise you get URL "file:" as one part and
the effective filename of this stack as
another part, and join them by the "&".
--
Alex Tweedly http://www.tweedly.net
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.9.0/50 - Release Date: 16/07/2005
More information about the use-livecode
mailing list