Function EN Version 1.91

@CallIDF

OSFile System Text

Syntax

@CallIDF(IDFNAME1;OSPATH2);

Description

Calls an IDF document with the TEXT IDFNAME1 as sub-processing.
The file with the OSPATH OSPATH2 is imported.

ACHTUNG:
Local variables from the main processing are not accessible in the program called by @CallIDF, and vice versa.
Data (variables) can only be exchanged via global ([GLOBAL]) variables.
This @Function requires a DATABASE statement (specifies the AEF main database) in the AEF file.
The counters Done/Delete/Update are set to 0 at the start of sub-processing. After sub-processing, the counters contain the total status
(all previous events including the sub-processing events together).

Example: @CallIDF(IDFNAME1;OSPATH2)

IDFNAME1:="TEST_SERVER!!TEST_SUB_IDF";
OSPATH2:="C:\\TEST\\TEST1.DAT";
@CallIDF(IDFNAME1;OSPATH2);

Calls the IDF document with the name "TEST_SERVER!!TEST_SUB_IDF" and imports the file with the OSPATH "C:\TEST\Test1.DAT" into the AEF main database.

Note : This text was machine-translated and may contain inaccuracies.