tcl.addbi.unix

Verb: Access/Unix, Releases: AP/Unix

Adds user-defined built-ins.

Syntax

addbi {function {function} ...}

Description

extends the functionalities of the Pick Monitor by making new C functions available to Pick/BASIC.

'addbi' adds the user-defined built-in functions defined in the given 'function' 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 simply rebuilt to match the list of built-in functions.

Up to 128 user-defined functions can be added to the Monitor.

Built-in functions are defined in the item 'user.builtin' in the 'dm,messages,' file. 'addbi' updates this 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. Added functions can be called directly from BASIC.

User-defined built-in functions may be removed using the 'rmbi' command.

See Also

Command Name Type Description
tcl.set-cmem Verb: Access Sets the memory size used for basic/c.
basic.cfunc Definition can be called from a Pick/BASIC program or subroutine in AP/DOS and AP/Unix implementations using a syntax similar to that of normal C.
basic.cfunc.user Definition user-supplied C or Assembly language code integrated into the Pick monitor and then called from BASIC using a C-like syntax.
basic.% Function Defines built-in C function.
basic.cfunction Definition Declare a list of C functions.
tcl.rmbi Verb: Access Removes Unix built-in functions.
tcl.listbi Verb: Access List built-in C functions.
tcl.addbi.unix.link Verb: Access

User Comments

What do you think?

Share your experience or ask a question by using the form below.

Login to leave your comments.