hi all,
I have code that saves a a file into a folder. what I want to do is look at the size of the file and if it is too small delete it and give a warning. I have taken out the relevant lines and included below. All seem to be correct but when i compile i get the following 'Unable to find Unknown MARRY1'
mcallnum2 = SYS(5) + CURDIR() + "folder1\" + mfilename+ ".jpg"
ADIR(marray1,('&mcallnum2'))
IF ALEN(marray1,1) > 0
mfilesize = marray1[1,2]
IF mfilesize > 120000
any help appreciated
~M
Go raibh maith agat
~M