4.5.190. besCOMMAND(X)

[<<<] [>>>]

Use this macro to start an extension module interface command. The macro argument X is the name of the command as it is used in the BASIC statement

declare command ::Function alias "X" lib "module"

This macro handles all system dependant function decoration declarations and declares the argument variables. Altough it is possible to name the argument variables in a different way it is strongly recommended that the programmer writing external module uses this macro and thus uses the argument names, because the besXXX macros rely on these variable names.

In addition to the arguments this macro also declares some mandatory local variables thatshould be used in most of the module implemented commands and are used by some macros.

Note that interface functions get their arguments already evaluated while interface commands may decide if an argument is evaluated or not, or even evaluated multiple times.

[<<<] [>>>]