The
CallHostSub statement and function allow Basic4ppc host program
subroutines to be directly called from within a B4Script. However
subroutines that manipulate Graphical User Interface elements must
not be directly called using CallHostSub. In this case
CallHostGuiSub must be used. If this help file has been supplied
with a finished Basic4ppc application then there should be other
documentation supplied that will detail the subroutine names that
may be used by CallHostSub together with their parameters and a
description of their functionality.
Syntax:
CallHostSub (Sub Name [, Arguments List])
Sub
Name - A string that holds the target sub name.
Arguments
List - List of arguments passed to the sub (separated by
commas).
Example
statement:
CallHostSub("SubWithOneParam",
12345)
Example
function:
ret =
CallHostSub("DoSomethingWithThis", 12345)