ŒFREAD Read component from a file


The ŒFREAD function reads a component from the file. The syntax is:

      R „ ŒFREAD TIENO COMPONENT {PASS}

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 parameter.

The parameter COMPONENT is the component number you want to read. This must be an integer in the range Lowest existing component number to Highest existing component number.

The explicit result is the data (array or overlay) last written to that component by any user.

If the component number does not exist, APLX will generate an error COMPONENT NOT IN FILE (error code 20 in ŒLER, or 6 3 in ŒET).


Topic: APLX Help : Help on APL language : System Functions & Variables : ŒFREAD Read component from a file
[ Previous | Next | Contents | Index ]