file( fn:z )

Read(18) Label: specified zone, read-only,

Description:

Open a file stored in the specified zone.

Syntax:

file(fn:z)

Note:

The function opens file fn stored in zone z and returns a homo-name files group composed a series of zone files. Generally file fn is read-only.

Parameters:

fn

The file to be loaded, which can be represented by an absolute path or a relative path. The relative path is relative to the main directory. The main directory used in IDE is the one configured in esProc Options menu; default main directory is the working directory. The main directory used in a server is the value of mainPath in the configuration file raqsoftConfig.xml, which cannot be empty.

z

Zone name

Return value:

Homo-name files group

Example:

 

A

 

1

=file("emp1.ctx":0)

Load composite table file emp1.ctx from zone 0

2

=file("emp.ctx":[0,1,2])

Return a homo-name files group made up of emp.ctx stored in zone 0, zone 1, and zone 2