IOPEN
|
Syntax: |
ICLOSE [(<Name
of Index File>) [ON ERROR ... END]] <Name of Index File> = <INDEX FILE
NAME> |
||
|
Meaning: |
Opens one or all Index Files. IOPEN
can be called with or without parameter. If no <Index File Name> is
specified, all Index Files are opened, otherwise only the specified ones are
opened. The
block ON ERROR ... END is executed in the case of an error. It can only be
specified if an Index File name has been specified. At
the start of the program all Index Files are opened automatically. IOPEN
and ICLOSE can be used in order to change the path
and/or the physical name of an Index File in the running program. |
||
|
Parameter: |
|
||
|
Sample: |
ICLOSE(CUSTOMER) /* Close Index File CUSTOMER PATH(CUSTOMER)="\data" /* Change path for CUSTOMER NEWNAME(CUSTOMER)="K99" /* Change
the physical name IOPEN(CUSTOMER) /* Open Index File CUSTOMER |
||
|
See also: |
|