Difference between revisions of "getText"

From Bohemia Interactive Community
Jump to navigation Jump to search
m
m
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 02:57, 27 August 2007

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/nameconfigNamecount configgetArray configgetNumber configinheritsFrom configisArray configisClass configisNumber configisText configselect config

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