isNumber: Difference between revisions
Jump to navigation
Jump to search
m (Text replace - "{{uc:{{PAGENAME}}}}" to "{{uc:{{PAGENAME}}}} {{uc:{{PAGENAME}}}}") |
m (template:command argument fix) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Check if config entry represents number. |= | | Check if config entry represents number. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[Boolean]] <nowiki>=</nowiki> '''isNumber''' config |= | | [[Boolean]] <nowiki>=</nowiki> '''isNumber''' config |SYNTAX= | ||
| p1 = config: [[Config]] | | p1 = config: [[Config]] | ||
| [[Boolean]] |= | | [[Boolean]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| x1 = <code> _ok <nowiki>=</nowiki> '''isNumber''' (configFile >> "CfgVehicles")</code> | | x1 = <code> _ok <nowiki>=</nowiki> '''isNumber''' (configFile >> "CfgVehicles")</code> | ||
Result is false | Result is false | ||
| [[configFile]], [[config/name]], [[configName]], [[count]], [[getArray]], [[getText]], [[getNumber]], [[inheritsFrom]], [[isArray]], [[isClass]], [[isText]], [[select]] |= | | [[configFile]], [[config/name]], [[configName]], [[count]], [[getArray]], [[getText]], [[getNumber]], [[inheritsFrom]], [[isArray]], [[isClass]], [[isText]], [[select]] |SEEALSO= | ||
}} | }} |
Revision as of 14:41, 7 April 2019
Description
- Description:
- Check if config entry represents number.
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
_ok = isNumber (configFile >> "CfgVehicles")
Result is false
Additional Information
- See also:
- configFileconfig/nameconfigNamecountgetArraygetTextgetNumberinheritsFromisArrayisClassisTextselect
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