configName: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Bot: Reverted to revision 86440 by Waffle SS. on 2014-11-16T02:43:23Z)
m (template:command argument fix)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Returns name of config entry. |= Description
| Returns name of config entry. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[String]] <nowiki>=</nowiki> '''configName''' config |= Syntax
| [[String]] <nowiki>=</nowiki> '''configName''' config |SYNTAX=


|p1= config: [[Config]] |= Parameter 1
|p1= config: [[Config]] |PARAMETER1=


| [[String]] |= Return value
| [[String]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>_name = [[configName]] ([[configFile]] [[gtgt|>>]] "CfgVehicles");</code>
|x1= <code>_name = [[configName]] ([[configFile]] [[gtgt|>>]] "CfgVehicles");</code>
Result is "CfgVehicles" |= Example 1
Result is "CfgVehicles" |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[configFile]], [[config/name]], [[config greater greater name|config >> name]], [[count]], [[getArray]], [[getText]], [[getNumber]], [[inheritsFrom]], [[isArray]], [[isClass]], [[isNumber]], [[isText]], [[select]] |= See also
| [[configFile]], [[config/name]], [[config greater greater name|config >> name]], [[count]], [[getArray]], [[getText]], [[getNumber]], [[inheritsFrom]], [[isArray]], [[isClass]], [[isNumber]], [[isText]], [[select]] |SEEALSO=


}}
}}

Revision as of 14:35, 7 April 2019

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
Returns name of config entry.
Groups:
Uncategorised

Syntax

Syntax:
String = 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

Notes

Bottom Section