getText: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 10: Line 10:
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''getText''' config |= Syntax
| [[String]] <nowiki>=</nowiki> '''getText''' config |= Syntax
|p1 = config: [[Config]]
|p1 = config: [[Config]]
| [[String]] |= Return value
| [[String]] |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________
|x1 = <code> _array <nowiki>=</nowiki> '''getText''' (configFile >> "CfgVehicles" >> "Thing" >> "icon")  </code>
|x1 = <code> __text <nowiki>=</nowiki> '''getText''' (configFile >> "CfgVehicles" >> "Thing" >> "icon")  </code>


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

Revision as of 01:57, 27 August 2007

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

Description

Description:
Extract text from config entry.
Groups:
Uncategorised

Syntax

Syntax:
String = getText config
Parameters:
config: Config
Return Value:
String

Examples

Example 1:
__text = getText (configFile >> "CfgVehicles" >> "Thing" >> "icon")

Additional Information

See also:
configFileconfig/nameconfigNamecount configgetArray configgetNumber configinheritsFrom configisArray configisClass configisNumber configisText configselect config

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