Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    Statistic    FMM    Blog  

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.

TypeNameDescription
vvoidnothing
BBOOLBoolean value
ccharsigned 8 bit value
Cunsigned charunsigned 8 bit value
sshortsigned 16 bit value
Sunsigned shortunsigned 16 bit value
iintsigned 32 bit value
Iunsigned intunsigned 32 bit value
jlongfor Windows 32-bit value, for MacOS and Linux 64-bit value
Junsigned longfor Windows 32-bit value, for MacOS and Linux 64-bit value
llong longsigned 64 bit value
Lunsigned long longunsigned 64 bit value
ffloatfloating point number in 32-bit size
ddoublefloating point number in 64-bit size
ppointerpointer in 32 or 64-bit.
ZC StringC style string with zero byte as end.

See also

Created 25th April 2020, last changed 25th April 2020


CFunction.ParameterCount - CFunction.Release

Feedback: Report problem or ask question.