Firstly, is there a function for checking if an input is an integer?
Alternatively I have a list ![== am ?age:isage ==] where isage checks to see
if the value is a number and, if it is, save it into a lexicon.
I have done it so isage just checks to see if the item is between 1 and 9...
and then i realised that it won't work if the number is more than one digit.
I seem to remember reading somewhere that a * (asterisk) allows more than
one match but i can't find it again - could someone point out the relevant
help file !
Thanks v much,
ian.
|