On 14/06/16 14:43, Marcel Kilgus wrote:
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
Hi Marcel,
I am a little confused, where does DEV1_ default to DATAD$
If I startup QPC2 with no boot device defined, the DATAD$ is flp1_,
which is the default of config block in the SMSQE file and DEV1_ is
undefined.
Can expand on this, I am havong a thick moment...
Regards,
Derek
_______________________________________________
QL-Users Mailing List