config / name: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (moved command to template)
Line 1: Line 1:
[[Category:Scripting Commands|#]]
[[Category:Scripting Commands|#]]
[[Category:Scripting Commands ArmA|#]]
[[Category:Scripting Commands ArmA|#]]
{{Command|= Comments
____________________________________________________________________________________________


| arma |= Game name


<h2 style="color:#000066">'''''config'' / ''name'''''</h2>
|2.35|= Game version
____________________________________________________________________________________________


| Returns name of config entry. |= Description
____________________________________________________________________________________________


'''Operand types:'''
| '''configName''' config |= Syntax


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


'''name:''' [[String]]
| [[String]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>_name = configName (configFile >> "CfgVehicles") , result is "CfgVehicles"</pre> |= Example 1
____________________________________________________________________________________________


'''Type of returned value:'''
|  |= See also


[[Config]]
}}


'''Compatibility:'''
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


Version 2.92 required.
<!-- Note Section END -->
</dl>


'''Description:'''
<h3 style="display:none">Bottom Section</h3>
 
Returns subentry of config entry with given name (alias for >>).
 
 
'''Example:'''
 
configFile '''/''' "CfgVehicles"

Revision as of 02:42, 3 August 2006


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

Description

Description:
Returns name of config entry.
Groups:
Uncategorised

Syntax

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

Examples

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

Additional Information

See also:
See also needed

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