Newbie Questions
J. Landman Gay
jacque at hyperactivesw.com
Mon Nov 5 00:20:17 EST 2007
Jim Ault wrote:
> --URL file: only works for 'text' files, not images
> or other binary code files.
I misread this for a moment before I understood what Jim meant. In case
anyone else did the same thing, the above means that the URL "file"
specification only works on text files. It doesn't mean you can't write
binary files using the URL keyword. To write binary data to a file using
the URL keyword, substitute "binfile" for "file".
Examples:
put myTextData into url ("file:"& myPath) -- text files only
put myBinaryData into url ("binfile:" & myPath) -- binary files
--
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
More information about the use-livecode
mailing list