---
name: "BIS_fnc_call"
type: function
status: ok
groups: ["Program Flow"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/BIS_fnc_call
revid: 327597
updated: 2022-07-13T09:49:02Z
---

# BIS_fnc_call

*Function · Program Flow · Arma 3 v0.50*

## Description

Execute given code with or without parameter.

> [!NOTE]
> **Arma 3:** Since Arma 3 v1.50, use [remoteExec](../commands/remoteExec.md)/[remoteExecCall](../commands/remoteExecCall.md) instead.

## Syntax

### Syntax 1

```sqf
[params, code] call BIS_fnc_call
```

**Parameters:**

- `params`: [Anything](../topics/Anything.md) - function arguments
- `code`: [Code](../topics/Code.md) - function code

**Returns:** [Anything](../topics/Anything.md)

### Syntax 2

```sqf
code call BIS_fnc_call
```

**Parameters:**

- `code`: [Code](../topics/Code.md)

**Returns:** [Anything](../topics/Anything.md)

## Examples

### Example 1

Show a message for the current player.

```sqf
[["Hello"], {hint (_this select 0);}] call BIS_fnc_call;
```

### Example 2

Alternative syntax

```sqf
{ hint "Hello"; } call BIS_fnc_call;
```

## See also

[remoteExec](../commands/remoteExec.md) · [remoteExecCall](../commands/remoteExecCall.md) · [BIS_fnc_spawn](../functions/BIS_fnc_spawn.md) · [BIS_fnc_execVM](../functions/BIS_fnc_execVM.md) · [BIS_fnc_execFSM](../functions/BIS_fnc_execFSM.md) · [BIS_fnc_execRemote](../functions/BIS_fnc_execRemote.md)

## Community notes

**Strangepete** — 2014-11-30

As of writing (ver. 1.37) BIS_fnc_call is only a wrapper for [BIS_fnc_spawn](../functions/BIS_fnc_spawn.md). Both functions use [call](../commands/call.md) to execute the code.

<sub>Source: [BI Community Wiki — BIS fnc call](https://community.bistudio.com/wiki/BIS_fnc_call) (revision 327597).</sub>
