callExtension: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
((some info))
m (Reverted edits by Demellion (talk) to last revision by Str)
Line 36: Line 36:
<!-- Note Section END -->
<!-- Note Section END -->
</dl>
</dl>
<!-- CONTINUE Notes -->
<dl class="command_description">
<dd class="notedate">Posted on December 25, 2016 - 05:12 (UTC)</dd>
<dt class="note">'''[[User:Demellion|Demellion]]'''</dt>
<dd class="note">
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:
<br>
'''ASCII''' = 1 byte/symbol of data  (Arma uses 8-bit ASCII)
<br>
'''UTF-8''' = 2 byte/symbol of data (Such as Russian Cyryllic uses 16-bit encoding)
<br>
'''Digits''' = 1 byte/digit of data (considered as ASCII symbol so is counted as 8 bit, not 1 bit of data).
</dd>
</dl>
<!-- DISCONTINUE Notes -->


<h3 style='display:none'>Bottom Section</h3>
<h3 style='display:none'>Bottom Section</h3>

Revision as of 15:06, 25 December 2016

Hover & click on the images for description

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

See also:
extensioncall

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

Bottom Section