Topic: APLX Help : Help on APL language : System Functions & Variables : ⎕FREPLACE Replace existing component
[ Previous | Next | Contents | Index | APL Home ]

www.microapl.co.uk

⎕FREPLACE Replace existing component


The ⎕FREPLACE function writes new data to an existing component in the file, or appends to the file. The syntax is:

      DATA ⎕FREPLACE TIENO COMPONENT {PASS}

DATA is any APL array or an overlay created using ⎕OV. TIENO is the tie number you used to tie or create the file (or the tie number returned by APLX if you tied or created it using 0 instead of your own tie number). If you tied the file using a pass number, you must provide the same pass number, as the PASS.

The parameter COMPONENT is the component number at which you want to write the new data. This must be an integer in the range Lowest current component number to Highest existing component number plus 1.

The effect of ⎕FREPLACE is similar to that of ⎕FWRITE with an integral non-zero component number.


Topic: APLX Help : Help on APL language : System Functions & Variables : ⎕FREPLACE Replace existing component
[ Previous | Next | Contents | Index | APL Home ]