call

From Bohemia Interactive Community
Revision as of 21:26, 23 October 2006 by Planck (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Executes the function body. Argument pars is passed as _this.
Groups:
Uncategorised

Syntax

Syntax:
pars call body
Parameters:
argument: Any Value - Optional. Argument that is passed to the function in the "_this" variable.
function_body: String - A function loaded with loadFile or preprocessFile, or a function body provided directly as a string.
Return Value:
Any Value - The last value given in the function is returned. See the topic Function for more information.

Examples

Example 1:
Operation Flashpoint syntax: _fAdd = loadFile "add.sqf" [1,2] call _fAdd Armed Assault syntax: _fAdd = compile loadFile "add.sqf" [1,2] call _fAdd

Additional Information

See also:
See also needed

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