Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
CFunction.ParameterType
Queries parameter type for a parameter.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
CFunction | 10.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "CFunction.ParameterType"; FunctionRef; Index ) More
Parameters
Parameter | Description | Example |
---|---|---|
FunctionRef | The reference number for the function. | $func |
Index | The index for the parameter. Range is 0 to CFunction.ParameterCount-1. |
0 |
Result
Returns text or error.
Description
Queries parameter type for a parameter.See table with types below.
Type | Name | Description |
v | void | nothing |
B | BOOL | Boolean value |
c | char | signed 8 bit value |
C | unsigned char | unsigned 8 bit value |
s | short | signed 16 bit value |
S | unsigned short | unsigned 16 bit value |
i | int | signed 32 bit value |
I | unsigned int | unsigned 32 bit value |
j | long | for Windows 32-bit value, for MacOS and Linux 64-bit value |
J | unsigned long | for Windows 32-bit value, for MacOS and Linux 64-bit value |
l | long long | signed 64 bit value |
L | unsigned long long | unsigned 64 bit value |
f | float | floating point number in 32-bit size |
d | double | floating point number in 64-bit size |
p | pointer | pointer in 32 or 64-bit. |
Z | C String | C style string with zero byte as end. |
See also
This function checks for a license.
Created 25th April 2020, last changed 25th April 2020
![](/images/fmplugin19.png)