Tiemo,
For this task I would always use binfile. No matter what the contents,
binfile will leave the file unchanged. There is no harm in using
binfile on a text file.
Uups, good point! :)
If I want to build a generic compress and decompress handler, what
is the
best way to check, if I get a file or binfile as the input? Would be
checking the file extension a good idea? Txt, xml, html: file and
Rev, exe:
binfile?
But where to start this list and where to end?
Thank you
Tiemo
Bonjour Tiemo,
A file stack is a binary file:
put compress(url ("binfile:" & it)) into url ("binfile:" & it &
".gz")
Best regards from Paris,
Eric Chatonet.
----------------------------------------------------------------
Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/
Email: [EMAIL PROTECTED]/
----------------------------------------------------------------
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution