Marcel Kilgus writes:

> Also something one should probably think about: should functions like
> OPEN automatically use the "current directory" if no drive name is
> given? Currently most commands default to DATAD$.
>
> Or, speaking completely into the blue, what about a meta device like
> DEV_ that uses dynamic paths instead of static ones? Something like
> "home_MyDataFile"?

The DEV device doesnt seem to work like that:

If you have a directory structure like

win1_ps_  ->
win1_ps_letter_doc
win1_ps_pt_  ->
win1_ps_pt_letter_doc

If you set

    DEV_USE 1, 'win1_'

then you can OPEN, or whatever, dev1_ps_letter_doc and
dev1_ps_pt_letter_doc. All well and good. If you set

    DEV_USE 1, 'win1_ps_'

then Qpac2 or OPEN finds dev1_letter_doc (= win1_ps_letter_doc) ok, as youd
expect, but it cant find dev1_pt_letter_doc. You better check out whether
DEV's behaviour is what you expect.

Per

_______________________________________________
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm

Reply via email to