APLX Help : Help on APL language : System Functions & Variables : ⎕FTIE Open an existing file
|
|
|
|
|
The FILENAME ⎕FTIE TIENO {PASS}
or: FILENAME ⎕FSTIE TIENO {PASS}
If you tie the file using
The optional For example: Exclusive-tie the file RUN3.aqf in library 0, under tie number 2: 'RUN3' ⎕FTIE 2 Share-tie the file RUN4.aqf in library 1, allowing APLX to allocate the tie number: 'RUN3' ⎕FSTIE 0 3 Share-tie the file c:\temp\RUN3.aqf, allowing APLX to allocate the tie number and using pass number 33421: 'c:\temp\RUN3.aqf' ⎕FSTIE 0 33421 4 If you try to tie a file which is already tied for exclusive
use by another user or task, APLX will retry for a few seconds in the hope that
the tie will be released. If this does
not occur, the operation will fail with error code 24 in 'RUN3' ⎕FTIE 2
FILE OR COMPONENT HELD
'RUN3' ⎕FTIE 2
^
⎕LER
24 0
⎕ET
6 5
Files are untied automatically when an APLX task ends. They are NOT untied when you Special considerations for Client-Server implementations of APLXSee Mixing 32-bit and 64-bit Component FilesIf you are running both 32-bit and 64-bit versions of APLX, then it is possible to share component files between the two architectures, but there are some special points you should be aware of. See the introduction to the |
|
APLX Help : Help on APL language : System Functions & Variables : ⎕FTIE Open an existing file
|
|
Copyright © 1996-2010 MicroAPL Ltd