Y must be a simple integer scalar or 1 or 2 element vector containing the file tie number followed by an optional passnumber. If the passnumber is omitted it is assumed to be zero.
X must be a valid access matrix, i.e. a 3-column integer matrix with any number of rows. The function sets access control for the specified file operations (1st column), users (3rd column), with the specified passnumbers (2nd column). Note that a 0 in the 1st column specifies all file operations, a ¯1 in the 2nd column specifies that no passnumber is required, and a 0 in the 3rd column specifies all users. For further details, see File Access Control.
The shy result of ⎕FSTAC is the tie number of the file.
'SALES' ⎕FCREATE 1 (3 3⍴28 2105 16385 0 2073 16385 31 ¯1 0) ⎕FSTAC 1 ((⎕FRDAC 1)⍪21 2105 16385) ⎕FSTAC 1 (1 3⍴0 ¯1 0)⎕FSTAC 2 ⍝ Let everyone do anything