configName: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Some wiki formatting)
m (Text replacement - " |r1=[[" to " |r1= [[")
Line 24: Line 24:
|p1= config: [[Config]]
|p1= config: [[Config]]


|r1=[[String]]
|r1= [[String]]


|x1= <code>_name = [[configName]] ([[configFile]] [[gtgt|>>]] "CfgVehicles"); {{cc|result is "CfgVehicles"}}</code>
|x1= <code>_name = [[configName]] ([[configFile]] [[gtgt|>>]] "CfgVehicles"); {{cc|result is "CfgVehicles"}}</code>

Revision as of 23:37, 7 August 2021

Hover & click on the images for description

Description

Description:
Returns name of config entry.
Groups:
Config

Syntax

Syntax:
configName config
Parameters:
config: Config
Return Value:
String

Examples

Example 1:
_name = configName (configFile >> "CfgVehicles"); // result is "CfgVehicles"

Additional Information

See also:
configFileconfig / nameconfig >> namecountgetArraygetTextgetNumberinheritsFromisArrayisClassisNumberisTextselect

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