isNumber: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (add. see also, categorized)
mNo edit summary
Line 11: Line 11:


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

Revision as of 04:23, 2 March 2007

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

Description

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

Syntax

Syntax:
isNumber config
Parameters:
config: Config
Return Value:
Boolean

Examples

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

Additional Information

See also:
configFileconfig/nameconfigNamecount configgetText configisArray configisClass 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