I'm not 100% certain, but possibly f$ is suffering from being prefixed by
datad$ which obviously exists hence the line 30 execution.
I'm not near my QPC at the moment so I can't confirm. What do you get if you
set dadtad $ to something like empty or even, something that doesn't exist?
Hi,
Can someone explain this?
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?
IF line 30 is replace with VIEW f$ then the content of win (in my