Œ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 ]