Obtaining the size of a file
Viktoras Didziulis
viktoras at ekoinf.net
Sat Apr 21 04:31:08 EDT 2007
This is an example from documentation,
assuming your file is MyFile.txt:
get the detailed files
filter it with "MyFile.txt,*"
put item 2 of it + item 3 of it into myFileSize
There is also size property which reports the amount of disk space taken by
an object to judge how much memory an object takes when displayed. E.g.:
get the size of image myImage
However the size property of a stack does not report any meaningful value
and is always 10000.
All the best!
Viktoras
More information about the use-livecode
mailing list