tcl.set-file

Verb: Access/TCL, Releases: AP and R83

Creates temporary 'q-pointer' called 'qfile'.

Syntax

set-file {account.name {file.name}}

Description

creates or updates the synonym-defining item called 'qfile' in the md of the current account.

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

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

In AP, the same functionality may be achieved using 'pathnames'. See 'file.reference'.

Example

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

See Also

Command Name Type Description
synonym.defining.items Definition Synonym files, or 'q-pointers'.
files Definition Description of Pick file organization.
file.reference Definition How to reference files in Pick.

User Comments

What do you think?

Share your experience or ask a question by using the form below.

Login to leave your comments.