addbi Command

The addbi command extends the functionality of the D3 monitor by making new C functions available to FlashBASIC.

Syntax

addbi {function1 {function2}...}

Parameter(s)

function1

Specifies the first user-defined built-in function that is added to the monitor. If a list of functions is omitted from the command line, then a list is presumed active. If no list is active, the User Generic Monitor Library (libgmu.a) is rebuilt to match the list of built-in functions.

NOTE—Up to 128 user-defined functions can be added to the monitor.

function2

Specifies the optional second user-defined built-in function that is added to the monitor.

Description

The addbi command adds the user-defined built-in functions defined in the given function to the monitor. These added functions can be called directly from BASIC.

Built-in functions are defined in the user.builtin item in the dm,messages, file. The addbi command updates the user.builtin item and creates in the current directory the C module px_user.c, which is compiled and linked with the default Generic Monitor libraries to create a customized monitor.

NOTE

User-defined built-in functions can be removed using the rmbi command. The UNIX development set (that is, the compiler, linker, and archiver) must be installed on the system in order to use this command.

See Also

C Functions Overview

cfunction Statement

Creating User-Defined C Functions

listbi Command

rmbi Command

set-cmem Command