IF var is varname
Posted: 23 Jul 2017, 10:25
I would like to propose an addition to the list of "variable types" to be checked for by the IF VAR IS TYPE command.
I think it would be nice if AHK could check for a variable value being a valid variable name, e.g.
IF myvar IS TYPE VARNAME
Thanks
Joe Petree
p.s. yes, this is quite easy for some, especially RegEx experts, but (1) the valid values may depend on OS or AHK platform and (2) we're not all RegEx experts!
I think it would be nice if AHK could check for a variable value being a valid variable name, e.g.
IF myvar IS TYPE VARNAME
Thanks
Joe Petree
p.s. yes, this is quite easy for some, especially RegEx experts, but (1) the valid values may depend on OS or AHK platform and (2) we're not all RegEx experts!