I think it's just that Marcel normally just uses DATA_USE dev1_ on his system.
Dilwyn

-----Original Message----- From: Derek Stewart
Sent: Tuesday, June 14, 2016 6:27 PM
To: ql-us...@q-v-d.com
Subject: Re: [Ql-Users] A feature or a bug?


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

-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2016.0.7639 / Virus Database: 4604/12419 - Release Date: 06/14/16


-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2016.0.7639 / Virus Database: 4604/12419 - Release Date: 06/14/16

_______________________________________________
QL-Users Mailing List

Reply via email to