Marcel Kilgus wrote: > François Van Emelen wrote: >> 10 f$="":REMark empty string >> 20 if FTEST(f$)=0 >> 30 DIR f$ >> 40 ELSE >> 50 PRINT f$," can't be a file name" >> 60 ENDIF >> >> Why is line 30 executed (displaying the directory of datad$) instead of >> line 50? > Because SMSQ/E defaults to dev1_ if you don't give a filename, I > presume.
Strike that, it defaults to datad$ of course, which is set to "dev1_" in my case. I mean, that's what DATA_USE is for, providing a default directory for file operations. Marcel _______________________________________________ QL-Users Mailing List
