tcl.steal-file

Verb: Access/TCL, Releases: AP

Moves file from another account to current account.

Syntax

steal-file file.reference FROM ACCOUNT: account.name

Description

only valid way to move a file from another account into the current account.

This physically moves a file to the current master dictionary from another master dictionary. 'steal-file' prompts for the account name and requires 'sys2' privileges. It also requires that the user invoking 'steal-file' is not protected against updating the file at any level, master dictionary, file level dictionary, or data file level.

After 'stealing' a file, the former owner has no reference to it, not even visitation rights. He or she can get visitation rights by building a 'q-pointer' to where the file moved, or by referencing it via a 'file path'.

Example

steal-file goods
FROM ACCOUNT: victims

See Also

Command Name Type Description
tcl.:swd Verb: Access Switches 'e' pointer(s) to 'd' pointer(s).
tcl.:swe Verb: Access Switches 'e' pointer(s) to d-pointer(s).
tcl.:swx Verb: Access Switches 'd-pointer' to 'dx-pointer'.
tcl.copy Verb: Access Copies items to output devices or between files.
files Definition Description of Pick file organization.
tcl.move-file Verb: Access Moves file.
tcl.rename-file Verb: Access Changes filename and updates pointers.
tcl.create-bfile Verb: Access Creates 'dc'-type file pointer for Pick/BASIC source and object code.
file.control.block Definition Description of file control block.

User Comments

What do you think?

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

Login to leave your comments.