RosettaCodeData/Task/Determine-if-a-string-is-numeric/AutoHotkey/determine-if-a-string-is-numeric.ahk
2013-04-10 14:16:51 -07:00

12 lines
186 B
AutoHotkey

list = 0 .14 -5.2 ten 0xf
Loop, Parse, list, %A_Space%
MsgBox,% IsNumeric(A_LoopField)
Return
IsNumeric(x) {
If x is number
Return, 1
Else Return, 0
}
;Output: 1 1 1 0 1