<<

Contents

Search

>>

 

REMOVE_INDEXFILE

 

 

Instruction

 

 

Syntax:

REMOVE_INDEXFILE(<Name of Index File>) ON ERROR … END

 

<Name of Index File> = <STRING-EXPRESSION>

 

Meaning:

Removes an Index File which has been added with ADD_INDEXFILE from the program.

 

In the case of an error the block ON ERROR … END.

 

If the Index File is still open, it is closed automatically.

 

If the Index File has not been created with ADD_INDEXFILE, error 1071/945 is reported.

 

Parameter:

Name of Index File

Name of Index File

 

Sample:

FILE$ = "CUSTOMER“

ADD_INDEXFILE(FILE$) ON ERROR ...Error... END

OPENMODE(FILE$) = 1 /* Multiuserzugriff

PATH(FILE$) = "C:\Daten"

IOPEN(FILE$) ON ERROR ...Error... END

INITIALIZE FILE$

START FILE$ ON ERROR ...Error... END

...

ICLOSE(FILE$)

REMOVE_INDEXFILE(FILE$) ON ERROR ...Error... END

 

See also:

ADD_INDEXFILE

ICLOSE

IOPEN