recompiledatabase
LIBRARY
,
ERRORS

The recompiledatabase statement recompiles all of the procedures in a specified database.


Parameters

This statement has two parameters:

library – name of the database to scan. If this parameter is “” or missing, the current database will be recompiled.

errors – optional parameter specifying a field or variable. If specified, a list of compile errors will be placed in this field or variable. The list is a carriage return delimited array, with one line for each procedure containing an error. Each line is a tab delimited array containing the procedure name and the error message.


Description

This statement recompiles all of the procedures in a specified database. This example compiles all of the procedures in the current database. If any of them contain errors, they are listed.

local compileErrors
recompiledatabase "",compileErrors
if compileErrors<>""
    superchoicedialog replace(compileErrors,tab(),":")
endif

See Also


History

VersionStatusNotes
10.0NewNew in this version.