KI_SIZE

Find the size of a file

Synopsis:
CALL KI_SIZE file$ TO size
size = 'ki_size( file$ )
ArgumentEnumerationPurpose
file$File name
sizeSize in bytes
>KI_SIZE

KI_SIZE

This call will return the size in bytes of file with the name file$. This usage is now discouraged because from KCML4 it has been possible to get this information with SEEK# using something like

OPEN #1,file$,"r"
len = SEEK#1,END
CLOSE#1
History
Introduced in KCML 3.00
See Also:
IP_TOS, KI_AES_DECRYPT, KI_AES_ENCRYPT, KI_COMP, KI_COMPFILE, KI_CRYPT, KI_DCOMP, KI_DCOMPFILE, KI_DES_DECRYPT, KI_DES_ENCRYPT, KI_DF, KI_DFK, KI_DIR, KI_DIR_LIST, KI_DS, KI_MD5, KI_PID, KI_PMATCH, KI_SHA1, KI_STAT, KI_STATFS, KI_TOUCH, R7_DATE2J, R7_J2DATE
KCML database status codes