# $EPIC: fsize.txt,v 1.3 2007/03/02 02:32:04 jnelson Exp $ ======Synopsis:====== $__fsize__(%%%%) $__fsize__("" %%%%) ======Technical:====== * The %%%% argument is a [[what is a word|dword]] which is different fr om most function arguments. * In the first case, %%%% is a single extended word (you may surround it with double quotes if it contains spaces). Any further arguments are ignored. * In the second case, the first argument is an empty string, and the rest of the arguments are taken as a filename literally. Do not backslash or double quote anything in %%%%. * Tile-expansion is supported in both forms. * If %%%% exists, the file's size is returned. If %%%% is a symbolic link, the size of the file %%%% points to is returned. * If %%%% does not exist, or it is a symbolic link and the file it links to does not exist, -1 is returned. ======Practical:====== This function returns the size of %%%%. This can be useful for seeing if a file exists, but has a zero length. ======Returns:====== -1 file does not exists, or no read access > -1 size of file ======History:====== This function first appeared in EPIC3pre7.