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:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
CFunction.ParameterType
Queries parameter type for a parameter.
| Component | Version | macOS | Windows | Linux | Server | FileMaker 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
Created 25th April 2020, last changed 25th April 2020
CFunction.ParameterCount - CFunction.Release
Feedback: Report problem or ask question.
Links
MBS Xojo Plugins