config greater greater name: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "config / name" to "a / b")
 
(72 intermediate revisions by 13 users not shown)
Line 1: Line 1:
[[Category:Scripting Commands|#]]
{{RV|type=command
[[Category:Scripting Commands ArmA|#]]


{{Command|= Comments
|game1= arma1
____________________________________________________________________________________________
|version1= 1.00


| arma |= Game name
|game2= arma2
|version2= 1.00


|2.35|= Game version
|game3= arma2oa
____________________________________________________________________________________________
|version3= 1.50


|Returns subentry of config entry with given name.  |= Description
|game4= tkoh
____________________________________________________________________________________________
|version4= 1.00


| '''''config'' >> ''name'''''|= Syntax
|game5= arma3
|version5= 0.50


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


|p2 = name: [[String]] | = Parameter 2
|descr= Returns [[Config | config]] entry with given name (alias of [[a / b]], slightly faster but with [[SQF Syntax#Rules_of_Precedence|lower precedence]])


|s1= config [[config greater greater name|>>]] name


| [[Config]] |= Return value
|p1= config: [[Config]]
____________________________________________________________________________________________


| x1 = configFile >> "CfgVehicles" | = Example 1
|p2= name: [[String]]
|  |= See also


}}
|r1= [[Config]] - config entry


<h3 style="display:none">Notes</h3>
|x1= <sqf>configFile >> "CfgVehicles";</sqf>
<dl class="command_description">
<!-- Note Section BEGIN -->


<!-- Note Section END -->
|seealso= [[configFile]] [[a / b]] [[configName]] [[count]] [[getText]] [[isArray]] [[isClass]] [[isNumber]] [[isText]] [[select]] [[configClasses]]
</dl>
}}
 
<h3 style="display:none">Bottom Section</h3>

Latest revision as of 15:22, 30 May 2022

Hover & click on the images for description

Description

Description:
Returns config entry with given name (alias of a / b, slightly faster but with lower precedence)
Groups:
Config

Syntax

Syntax:
config >> name
Parameters:
config: Config
name: String
Return Value:
Config - config entry

Examples

Example 1:
configFile >> "CfgVehicles";

Additional Information

See also:
configFile a / b configName count getText isArray isClass isNumber isText select configClasses

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