Dilwyn Jones wrote:
> There are device open functions out there in other toolkits which do the
> same job without checking the TK2 defaults system.

This is an important point. This is not an OS feature, i.e. the raw
TRAPs do not behave this way, it's strictly a feature of the BASIC
commands. That was the only way it could be implemented back then as
the OS was fixed. If another utility wraps the open call it will get
the "raw" behaviour.

Ralf Reköndt wrote:
> It's really that awful, as OPEN tries the device you told it, then, if no
> success, uses DATAD$ or somewhat others, DEV or such.

DATAD$, PROGD$ or DESTD$ is prepended to the filename, depending on
the call. DEV is just a device like any other I think.

Note that I do not endorse this design in any way, the whole filename
handling in QDOSMSQ is not, let's say, optimal. But as I said it's
been this way for 30 years, I don't see any urgency to change it now.

All the best, Marcel

_______________________________________________
QL-Users Mailing List

Reply via email to