You are here: Function Reference > Alphabetical Listing > L > LoadLib

LoadLib

Use this procedure/function to load into cache memory a file which contains a library of DAL scripts.

Syntax

LoadLib (File)

Parameter

Description

File

Enter the name of the file which contains the DAL scripts. If you omit the path, the system looks for the file in DefLib. If you omit the extension, the system uses the one defined in the Ext option of the DAL control group in your INI file. You must include the File parameter.

This procedure loads a file which contains one or more DAL functions into cache memory. Each of these procedures and functions can be referenced as a named subroutine.

Note You should only execute the LoadLib procedure once per library.

Example

Here is an example:

Procedure

Result

Explanation

LoadLib ("DB_Func")

The system loads the DB_Func file into cache memory.

Once loaded, you can reference the DAL scripts stored in memory as named subroutines.

See also