---
name: "Argument"
type: topic
aliases: ["argument"]
source: https://community.bistudio.com/wiki/Argument
revid: 329068
updated: 2022-07-21T23:40:25Z
---

# Argument

An **argument** is any value that *is being passed* to a scripting command or an executed [script](../topics/Script_File.md) or [function](../topics/Function.md). In the script or function this value is considered a [parameter](../topics/Parameter.md).

**Example:**

```sqf
[variable, 5, "string"] execVM "myScript.sqf"
```

The [Array](../topics/Array.md) `[variable, 5, "string"]` and the contained values are called the arguments given to the script.

### Access

In the script the argument can be accessed using the [magic variable](../topics/Magic_Variables.md) `_this`.

### See also

- [Parameter](../topics/Parameter.md)

<sub>Source: [BI Community Wiki — Argument](https://community.bistudio.com/wiki/Argument) (revision 329068).</sub>
