Hi everyone,
I reading a file by following command:
while(gets(LinValue myFile)
;;; body
);while ends
When file is empty, I am getting following error :
*Error* range: argument #1 should be a number (type template = "n") - nil
*Error* load: error while loading file - "*string*"
I am checking the file with isFile(myFile), but my file exists but is empty. How can I check if file is empty using SKILL? or any other solution to this problem.
Thanks in advance
Amar