---
name: "BIS_fnc_diagMacros"
type: function
status: ok
groups: ["Diagnostic"]
arma3_since: "1.00"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/BIS_fnc_diagMacros
revid: 309630
updated: 2022-05-05T12:07:49Z
---

# BIS_fnc_diagMacros

*Function · Diagnostic · Arma 3 v1.00*

## Description

Exports config macros.

## Syntax

*syntax inferred from the function header*

```sqf
[param0, param1] call BIS_fnc_diagMacros
```

**Parameters:**

- `param0` — 0: CONFIG or ARRAY - config container to be searched (e.g. configFile >> "CfgVehicles") or list of classes or classnames
- `param1` — 1: ARRAY - list of macro names to be used (e.g. ["MAPSIZE","NAMESOUND"])
  2 (Optional): STRING - macro category name (when param 0 is CONFIG, its classname is used by default - e.g. "CfgVehicles")

**Returns:** STRING

## Function header

The comment at the top of the function's file in the game; this page's description, params, syntax, returns come from it.

```sqf
/*
Description:
Exports config macros.

Parameter(s):
    0: CONFIG or ARRAY - config container to be searched (e.g. configFile >> "CfgVehicles") or list of classes or classnames
    1: ARRAY - list of macro names to be used (e.g. ["MAPSIZE","NAMESOUND"])
    2 (Optional): STRING - macro category name (when param 0 is CONFIG, its classname is used by default - e.g. "CfgVehicles")

Returns:
STRING
*/
```

<sub>Source: [BI Community Wiki — BIS fnc diagMacros](https://community.bistudio.com/wiki/BIS_fnc_diagMacros) (revision 309630).</sub>
