next up previous contents index
Next: Reading in the Up: Description of FFREAD Previous: Set optional values

Define a key

CALL FFKEY (KEY, ADRESS, LENGTH, CHTYPE)

This subroutine actually defines a key to FFREAD. Its arguments have the following meaning:

KEY
character string containing the key to use (character)
ADRESS
variable/array to store values to (anything but character)
LENGTH
number of values associated with this key (integer)
CHTYPE
character string specifying the type of variable/array For the values 'INTE', 'REAL', or 'LOGI' (only four characters are significant), type checking as described above will be performed. If this argument has any other value, no type checking will be done.

KEY is truncated to the significant key length and converted to upper case.

If one of the following conditions is met,the key is not defined and an error message is issued:


Janne Saarela
Tue May 16 09:50:47 METDST 1995