{"name":"Parameter","title":"Parameter","type":"topic","url":"https://community.bistudio.com/wiki/Parameter","revid":329120,"updated":"2022-07-22T15:40:29Z","aliases":[],"markdown":"A **parameter** is a value that *was passed* to the actual script. All parameters are accessible over the array `_this`.\n\n**Example:**\n\n```sqf\n[5, \"text\"] execVM \"script.sqf\"\n```\n\nscript.sqf\n\n```sqf\nparams [\"_number\",\"_string\"];\n```\n\n`_number` and `_string` are considered the parameters of the script, and are filled with the values that were provided in the array. `_number` now contains the value **5**, while _string now contains the value **string**.\n\n### See also\n\n- params\n- param\n- select\n- Argument","sections":[{"heading":null,"level":1,"markdown":"A **parameter** is a value that *was passed* to the actual script. All parameters are accessible over the array `_this`.\n\n**Example:**\n\n```sqf\n[5, \"text\"] execVM \"script.sqf\"\n```\n\nscript.sqf\n\n```sqf\nparams [\"_number\",\"_string\"];\n```\n\n`_number` and `_string` are considered the parameters of the script, and are filled with the values that were provided in the array. `_number` now contains the value **5**, while _string now contains the value **string**."},{"heading":"See also","level":3,"markdown":"- params\n- param\n- select\n- Argument"}],"categories":["Syntax"],"groups":["Scripting"]}