## FCSIZE Read component size information

The FCSIZE function returns information about the size of a component. The syntax is:

          R  FCSIZE 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. This must be an integer in the range Lowest existing component number to Highest existing component number.

The explicit result is a two-element integer vector:

1. The size the variable would use if read into the workspace.

2.The size of the slot allocated to the component in the file, excluding the component header.

Both are expressed in bytes.

Topic: APLX Help : Help on APL language : System Functions & Variables : FCSIZE Read component size information

[ Previous | Next | Contents | Index ]