numbers in a variable.
numbers in a variable.
- Subject: numbers in a variable.
- From: "Ruby Madraswala" <email@hidden>
- Date: Thu, 31 Jul 2003 13:58:31 -0400
- Thread-topic: numbers in a variable.
How do I check if a variable contains numbers (can range from 1 to 99)? I tried:
If newword contains [1-99] then
Do something
Else
It's a heading
End if
I don't get any error message and "do something" does not work which right now is just few display statements.
Example:
Printers
1 HP laserjet
2 HP inkjet
3 Canon color
Plotters
4 xerox
5 oce
and so on.
Thanks in advance.
Ruby
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.