FileSize filename outputs the size of the file named filename. The file must be open. Example:
openread "bounce3.lg filesize "bounce3.lg ;3784 ;-) close "bounce3.lg