Xbasic
COMPILE_LIBRARY Function
Syntax
L COMPILE_LIBRARY(C libraries[,N lib_id[,L smart[,C ddFilter]]])
Arguments
- libraries
A CR-LF delimited list of library files (.ALB extensions).
- lib_id
A number from 0 to 255.
- smart
Logical. Specifies whether to compile only new files, .T. = compile files only if they are new (changed), .F. = compile all files
- ddFilter
Optional. Default = .T. . An expression that selects scripts to compile.
Description
The COMPILE_LIBRARY() function compiles selected libraries into an executable .AEX file. Compile one or more libraries in a CRLF separated list from .ALB to .AEX, lib created is lib_num 0-255, if optional smart flag is set to TRUE than compiles will occur only if needed, ddfilter is an optional expression to only put elements that match filter in the AEX.
Example
compile_library(libraries, 1, .T., "(left(name,1) '_') .or. (left(name,9) = '__hidden_')")
Limitations
Desktop applications only.
See Also