Difference between revisions of "getText"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (upd. link)
m
Line 14: Line 14:
 
| [[String]] |= Return value
 
| [[String]] |= Return value
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
|x1 = <code> __text <nowiki>=</nowiki> '''getText''' (configFile >> "CfgVehicles" >> "Thing" >> "icon")  </code>
+
|x1 = <code> _text <nowiki>=</nowiki> '''getText''' (configFile >> "CfgVehicles" >> "Thing" >> "icon")  </code>
  
 
| [[configFile]], [[config/name]], [[configName]], [[count]], [[getArray]], [[getNumber]], [[inheritsFrom]], [[isArray]], [[isClass]], [[isNumber]], [[isText]], [[select]] |= See also
 
| [[configFile]], [[config/name]], [[configName]], [[count]], [[getArray]], [[getNumber]], [[inheritsFrom]], [[isArray]], [[isClass]], [[isNumber]], [[isText]], [[select]] |= See also

Revision as of 13:08, 17 March 2011

Introduced with Armed Assault version 1.001.00
Hover & click on the images for descriptions

Description

Description:
Extract text from config entry.

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/nameconfigNamecountgetArraygetNumberinheritsFromisArrayisClassisNumberisTextselect

Notes

i
Only post proven facts here. Report bugs on the feedback tracker. Use the Talk page or the Forums for discussions.

Notes

Bottom Section