ICLOSE
|
Syntax: |
ICLOSE [(<Name
of Index File>) [ON ERROR ... END]] <Name of Index File> = <INDEX FILE
NAME> |
||
|
Meaning: |
Closes one or all Index Files. ICLOSE can be called with or without
parameters. If no <Indexfilename> is given, all Index Files are closed,
otherwise only the specified one. If an Index File has already been closed, the
instruction ICLOSE is ignored. The block ON ERROR ... END is executed in the
case of an error. It can only be specified if an <Indexfilename> has
been specified. At the end of the program all Index Files are
closed automatically. ICLOSE
and IOPEN can be used in order to change the
path and/or the physical name of an Index File during 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: |
|