CFunction.GetArrayByteSize
--------------------------

Queries byte size of allocated array.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [CFunction](component_CFunction.md) | [10.3](newinversion103.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "CFunction.GetArrayByteSize"; FunctionRef; Index ) 

**MBS**( **"CFunction.GetArrayByteSize";** /\* Queries byte size of allocated array. \*/  
**$FunctionRef**; /\* The reference number for the function.e.g. $func \*/   
**$Index**) /\* The index for the parameter.  
Range is 0 to [CFunction.ParameterCount](CFunctionParameterCount.md)-1.e.g. 0 \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| FunctionRef | The reference number for the function. | $func |
| Index | The index for the parameter.   Range is 0 to [CFunction.ParameterCount](CFunctionParameterCount.md)-1. | 0 |

### Result

Returns byte size or error.

### Description

Queries byte size of allocated array.  
### See also

- [CFunction.ParameterCount](CFunctionParameterCount.md)

This function checks for a license.

Created 25th April 2020 , last changed 17th July 2022

  
[CFunction.GetArray](CFunctionGetArray.md) - [CFunction.GetTag](CFunctionGetTag.md)

[HTML Version](CFunctionGetArrayByteSize.shtml)