isText: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Check if config entry represents text.  |= Description
| Check if config entry represents text.  |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[Boolean]] <nowiki>=</nowiki> '''isText''' config |= Syntax
| [[Boolean]] <nowiki>=</nowiki> '''isText''' config |SYNTAX=
|p1=  config: [[Config]]
|p1=  config: [[Config]]
| [[Boolean]] |= Return value
| [[Boolean]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
|x1 = <code> _ok <nowiki>=</nowiki> '''isText''' (configFile >> "CfgVehicles") </code>
|x1 = <code> _ok <nowiki>=</nowiki> '''isText''' (configFile >> "CfgVehicles") </code>


Result is false   
Result is false   
| [[configFile]], [[config/name]], [[configName]], [[count]], [[getArray]], [[getText]], [[getNumber]], [[inheritsFrom]], [[isArray]], [[isClass]], [[isNumber]], [[select]] |= See also
| [[configFile]], [[config/name]], [[configName]], [[count]], [[getArray]], [[getText]], [[getNumber]], [[inheritsFrom]], [[isArray]], [[isClass]], [[isNumber]], [[select]] |SEEALSO=


}}
}}

Revision as of 14:42, 7 April 2019

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

Description

Description:
Check if config entry represents text.
Groups:
Uncategorised

Syntax

Syntax:
Boolean = isText config
Parameters:
config: Config
Return Value:
Boolean

Examples

Example 1:
_ok = isText (configFile >> "CfgVehicles") Result is false

Additional Information

See also:
configFileconfig/nameconfigNamecountgetArraygetTextgetNumberinheritsFromisArrayisClassisNumberselect

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