Online Documentation - Statistics - FAQ - Plugin Parts (All, Dependencies) - Class hierarchy
New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1
The list of the topics, classes, interfaces, controls, modules, global methods by category, global methods by name, screenshots, licenses and examples.
Platforms to show: All Mac Windows Linux Cross-Platform
Back to DeclareFunctionMBS class.
DeclareFunctionMBS.ClearParameters
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynamicDeclares | MBS Util Plugin | 20.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Sets them all to zero/nil.
DeclareFunctionMBS.Constructor(Signature as String, FunctionPtr as Ptr)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynamicDeclares | MBS Util Plugin | 20.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Pass the signature and function pointer from a C function.
If signature is incorrect, the application will probably crash with stack corruption.
DeclareFunctionMBS.Invoke as Variant
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynamicDeclares | MBS Util Plugin | 20.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See also:
DeclareFunctionMBS.Invoke(Parameters() as Variant) as Variant
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynamicDeclares | MBS Util Plugin | 20.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
First calls SetParameters with the given array to set parameters.
Then invokes the function.
See also:
DeclareFunctionMBS.ParameterBoolean(Index as Integer) as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | DynamicDeclares | MBS Util Plugin | 20.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
You can get and set value here.
(Read and Write computed property)
DeclareFunctionMBS.ParameterDouble(Index as Integer) as Double
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | DynamicDeclares | MBS Util Plugin | 20.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
You can get and set value here.
(Read and Write computed property)
DeclareFunctionMBS.ParameterInteger(Index as Integer) as Int64
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | DynamicDeclares | MBS Util Plugin | 20.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
You can get and set value here.
(Read and Write computed property)
DeclareFunctionMBS.ParameterPointer(Index as Integer) as Ptr
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | DynamicDeclares | MBS Util Plugin | 20.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
You can get and set value here.
(Read and Write computed property)
DeclareFunctionMBS.ParameterSingle(Index as Integer) as Single
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | DynamicDeclares | MBS Util Plugin | 20.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
You can get and set value here.
(Read and Write computed property)
DeclareFunctionMBS.ParameterString(Index as Integer) as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | DynamicDeclares | MBS Util Plugin | 20.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
To avoid crashes, we only read strings from parameters with type string or pointer.
But you can assign a string value to all types, which may not make sense for numbers.
You can get and set value here.
(Read and Write computed property)
DeclareFunctionMBS.ParameterValue(Index as Integer) as Variant
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | DynamicDeclares | MBS Util Plugin | 20.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
We automatically convert values based on the parameter type.
The class stores reference to the variant when setting to make sure strings and MemoryBlocks are not freed too early.
You can get and set value here.
(Read and Write computed property)
DeclareFunctionMBS.SetParameters(paramArray Parameters as Variant)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynamicDeclares | MBS Util Plugin | 20.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See also:
DeclareFunctionMBS.SetParameters(Parameters() as Variant)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynamicDeclares | MBS Util Plugin | 20.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See also:
The items on this page are in the following plugins: MBS Util Plugin.