8 14 IMPORT

LANSA Technical

8.14 IMPORT

The IMPORT command is used to include function libraries into an object. Function Libraries are LANSA defined primitives that contain a set of routines and functions. 

The IMPORT command is specified immediately after the FUNCTION statement and before the BEGIN_COM.

Once a Function library has been imported, the routines defined in the library can be used in expressions.

FUNCTION Options(*DIRECT)
* import the variant function library named #PRIM_LIBV
IMPORT Libraries(#PRIM_LIBV)
 

Also See

8.14.1 IMPORT Parameters

8.14.2 IMPORT Examples

    

                                                       Required       

                                                                          

       IMPORT --- Libraries---- list of library name ------------->