recompiledatabase
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

- loadlibrary -- loads a library database into memory.
- openlivecoursecalendar -- Opens the Live Course Calendar window.
- openpreferenceswindow -- opens the Panorama Preferences window.
- opensoftwareupdatewindow -- opens the Panorama Software Update window.
- runcustommenu -- runs the *.CustomMenu* procedure.
- scanlibraries -- scans all libraries and registers all of the custom statements in them.
- scanlibrary -- scans a library and registers all of the custom statements in it.
- startupdatecheck -- starts background check for available Panorama update.

History

Version | Status | Notes
10.0 | New | New in this version.