CALL COM FUNC
This command will call a given function of an ActiveX or .NET object. The command can pass 0 to 8 arguments to the function. The type of those arguments must be specified by a Type Format String. A Type Format String has one character for each argument that indicates its data type:
I = Integer
F = Float (single precision)
S = String
P = Pointer
For example, if you want to pass three arguments, the first is an integer type, the second a string type and the third a float type, the Type Format String would be: "ISF". If you don't want to pass any values, ommit the Type Format String.
ARGUMENTS:
* Com Number = The number of the Com instance between 1 and 256.
* Function Name = The name of the function to call.
optional:
* Type Format String = String that describes the type of the following arguments (see text above).
* Args = Up to eight arguments.
RETURNS
The type of the returned value depends on the ActiveX function that was called.
SYNTAX
Return Value=CALL COM FUNC(Com Number,Function Name [,Type Format String,Args])
CALL COM FUNC Com Number,Function Name [,Type Format String,Args]
RELATED INFO
View COM, ActiveX, .NET Index
View STYX Index
View STYX Main File