Developer Functions

Alpha Five provides the following functions that will be useful to the Alpha Five application developer.

Method

 

Description

A5.GET_MASTER_NAME()

V5

Returns the name of the master database if the workstation is shadowed.

A5.GET_NAME()

V5

Returns the filename of the current database.

A5_ASCII_TABLE()

V5

Displays an ASCII lookup table and returns a value.

A5_AXCONTROL_AVAILABLE()

V7

Determines whether an ActiveX control is installed and registered.

A5_Compile_Scripts()

V5

Displays the Compile Script Library dialog box.

A5_CREATE_SHORTCUT()

V5

Displays the Create Shortcut Genie dialog box.

A5_GetAppVersionNumber()

V6

Returns the version of the application.

A5_GET_EXPRESSION()

V7

Displays the Expression Builder and returns an expression.

A5_InstallAmyuni()

V6

Installs Alpha Five printer drivers.

A5_IS_DATABASE_OPEN()

V6

Reports whether any database is open.

A5_IS_RUNTIME()

V5

Returns .T. if the Alpha Five Runtime version is running.

A5_IS_RUNTIMEPLUS()

V7

Returns .T. if the Alpha Five Runtime Plus version is running.

A5_IsHomeEdition()

V6

Determines if the current application is the Alpha Five Home Edition.

A5_ISMAXIMIZED()

V5

Indicates whether the MDI child window is maximized.

A5_MDAC_VERSION()

V6

Returns the version number of the installed Microsoft Data Access Components.

A5_REGISTRATION_LICENSE_INUSE()

V6

Counts the number of concurrent users in a multi-user application.

A5_SetAppVersionNumber()

V6

Sets the application's version number.

A5_SHOW_VARIABLE()

V5

Displays a dialog box with tabs showing the values of each of the currently defined variables.

A5_SYSTEM_ADDIN_VERSION()

V5

Returns the version number of the installed addin functions.

A5_TempFileListFileName()

V6

Returns the name of the file that contains the temp file list.

COMPILE_LIBRARY()

V6

Compiles .ALB library files into .AEX format.

COMPILE_TEMPLATE()

V6

An alternative way to define and invoke functions.

FUNCTION_DESCRIPTION_GET()

V5

Returns the description of a function.

FUNCTION_LIMITATIONS_GET()

V5

Returns the limitations of the named function.

FUNCTION_PROTOTYPE_GET()

V5

Returns the prototype for the named function.

FUNCTIONS_GET()

V5

Returns a list of functions.

HOURGLASS_CURSOR()

V5

Turns on an hourglass cursor to indicate to the user that a task is being performed.

LOAD_LIBRARY()

V5

Loads the named library (.AEX file).

MOST_RECENTLY_USED_

DATABASE_ENUM()

V5

Returns a CR-LF delimited list containing the fully qualified filenames of the eight different most recently used databases.

ON_XBASIC_IDLE()

V6

Registers code to run when Alpha Five is idle.

PLAY_SOUND()

V5

Plays a sound file (.WAV extension).

PROFILER_BEGIN()

V5

Begins the profiling of a script.

PROFILER_END()

V5

Ends the profiling of a script.

USER_VARIABLES_ENUM()

V5

Returns a CR-LF delimited list of user variables in the variable frame referenced by Pointer.

VARIABLE_CONTEXT_NAME()

V5

Returns the name of the variable frame (if any) of the referenced variable.

VARIABLES_ENUM()

V5

Returns a CR-LF delimited string of variable names in the variable frame referenced by Pointer.

VERSION()

V5

Returns the version number and other information about Alpha Five.

XBASIC_ERROR_LOG()

V6

Defines an error log for a thread's code.

XBASIC_TRACE_END()

V5

Terminates writing Xbasic debug information to a file.

XBASIC_TRACE_START()

V5

Starts writing Xbasic debug information to a file.

CPUCount()

V8

Returns the number of available CPUs in the computer.

PrimaryProcessor()

V8

Returns the index of the primary processor.

SetPrimaryProcessor()

V8

Sets the processor that will run Alpha Five.

See Also

Script Functions, TRACE Functions and Methods, System Functions