IsKeyword
From AutoIt Wiki
Checks if a variable is a keyword (e.g. Default). Adapted from AutoIt docs.
Contents |
Syntax
$chk = IsKeyword(var)
Parameters
| var | The variable to check. |
Return Value
Success: Returns 1 if variable is a keyword.
Failure: Returns 0 if variable is not a keyword.
Example
$a = default If IsKeyword($a) Then MsgBox(0,"Ok", "Yes it is")