tcl.addbi.apdos

Verb: Access/DOS, Releases: AP/DOS

Add function to a the AP/DOS monitor.

Syntax

addbi { function.list }

Description

extends the Monitor functionalities by adding new C functions, available to Pick/BASIC.

The 'addbi' command adds the specified list of user-defined C-functions to the list of built-in functions that are in the MS-DOS 'initfncs.c' file and the Pick 'c.builtin' item.

'function.list' is a list of one or more item-id's (separated by spaces) of functions to be added to the existing built-in functions. If 'function.list' is omitted, a previously generated select list can be used. (see 'select' and the related list-handling verbs).

If 'function.list' is omitted and no active list is present, the MS-DOS 'initfncs.c' file is rebuilt to match the list of built-in functions. Up to 255 user-defined functions may be added.

Built-in functions are defined in the item 'c.builtin' item located in the 'dm,messages,' file. When invoked, 'addbi' updates this item and updates the C module 'initfncs.c'. When compiled and linked with the supplied mixed language interface object modules, 'initfncs.c' creates a customized 'PICKCSUP.EXE' executable file.

The added functions can then be called directly from Pick/BASIC. See 'c function'.

See Also

Command Name Type Description
tcl.listbi Verb: Access List built-in C functions.
tcl.rmbi Verb: Access Removes Unix built-in functions.
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.
tcl.set-cmem Verb: Access Sets the memory size used for basic/c.
basic.cfunction Definition Declare a list of C functions.
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.
tcl.addbi.apdos.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.