Reports the amount of disk space taken by an object.
# Metadata
Platforms: desktop, server, mobile OS: mac, windows, linux, ios, android Introduced: 1.0 Security:
# Syntax
get the size of object
# Examples
if the size of image myImage > 20000 then beep
# Description
The size of an image, EPS, audio clip, or video clip is is the number of bytes of disk space that the object takes up.
The size property of a stack is always 10000. For stacks, this property is included in LiveCode for compatibility with imported HyperCard stacks and does not report a meaningful value.
>*Note:* The size of an image that has a filename is always empty. To > get the true size of such an image, either use the detailed files, > or check the length of the file url.
# Tags
# See