callExtension: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
((some info)) |
||
Line 47: | Line 47: | ||
'''UTF-8''' = 2 byte/symbol of data (Such as Russian Cyryllic uses 16-bit encoding) | '''UTF-8''' = 2 byte/symbol of data (Such as Russian Cyryllic uses 16-bit encoding) | ||
<br> | <br> | ||
'''Digits''' = 1 byte/digit of data | '''Digits''' = 1 byte/digit of data (considered as ASCII symbol so is counted as 8 bit, not 1 bit of data). | ||
</dd> | </dd> | ||
</dl> | </dl> |
Revision as of 04:28, 25 December 2016
Description
- Description:
- Execute an extension function.
- Groups:
- Uncategorised
Syntax
- Syntax:
- extension callExtension functionWithArguments
- Parameters:
- extension: String
- functionWithArguments: String
- Return Value:
- String
Examples
- Example 1:
handle = "pipes" callExtension "openPipe(pipe)";
Additional Information
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note
Notes
- Posted on December 25, 2016 - 05:12 (UTC)
- Demellion
-
Note that callExtension arguments sent packet size cannot exceed 2^13 bytes (8192 bytes) no matter what extension is used. This might cause confusion for devs using database extensions on sending big data. Here's some table of data sizes:
ASCII = 1 byte/symbol of data (Arma uses 8-bit ASCII)
UTF-8 = 2 byte/symbol of data (Such as Russian Cyryllic uses 16-bit encoding)
Digits = 1 byte/digit of data (considered as ASCII symbol so is counted as 8 bit, not 1 bit of data).
Bottom Section
Categories:
- Scripting Commands
- Introduced with Arma 2: Operation Arrowhead version 1.60
- Arma 2: Operation Arrowhead: New Scripting Commands
- Arma 2: Operation Arrowhead: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters
- ArmA 2 OA: New Scripting Commands List