set-file command

The set-file BASIC program creates or updates the synonym-defining item called qfile in the master dictionary of the current account.

Warning: Using the set-file command overwrites any existing non-D-pointer items.


set-file {{}} {}


This provides access to the specified file name in the specified by using the file name, qfile, in place of the file name parameter during any file-handling commands.

If an is supplied, then the MD is updated with that name (instead of qfile).

Each time set-file is invoked, it overwrites the previous Q-pointer.

The same functionality can be achieved using path names.


set-file dm bp
’qfile’ updated.
list qfile