Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

CFunction.ReturnType

Queries return type.

Component Version macOS Windows Linux Server iOS SDK
CFunction 10.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "CFunction.ReturnType"; FunctionRef )   More

Parameters

Parameter Description Example
FunctionRef The reference number for the function. $func

Result

Returns text or error.

Description

Queries return type.
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.

Examples

Query return type for a function:

Set Variable [ $type ; Value: MBS( "CFunction.ReturnType"; $function) ]

This function checks for a license.

Created 25th April 2020, last changed 4th January 2024


CFunction.ReleaseAll - CFunction.SetArray