Page 1 of 1

Compress a file into a custom property

Posted: Fri Oct 25, 2013 2:32 pm
by Ini1
Hi
Can anyone tell me how to compress a file and store it in a custom property
I have a custom property named cVersionInformation
I have tried the following
put compress("myfile.txt") into cVersionInformation of this stack
which doesn't work with an error message
(Chunk can;t create a variable with that name (explicitVariables?)) near cVersionInformation, char 38
Any help greatly appreciated
thanks.

Re: Compress a file into a custom property

Posted: Fri Oct 25, 2013 2:38 pm
by Klaus
Hi Ini1,

1. welcome to the forum :D

2. unlike variables you need to SET a custom property to something:
...
set the cVersionInformation of this stack to compress("myfile.txt")
...

Best

Klaus

Re: Compress a file into a custom property

Posted: Fri Oct 25, 2013 3:03 pm
by Ini1
many thanks and such a speedy response
Regards
Ini