If Statements
If Statements
- Subject: If Statements
- From: William J Sisti <email@hidden>
- Date: Thu, 11 Sep 2008 08:14:02 -0400
- Thread-topic: If Statements
Title: If Statements
I have a If statement that checks users user name. Teachers use first initial and last name and students go by a number. So right now my Else if looks like this:
If (username > 1 and username <10)
do this
Else if (username > 11 and username < 20)
do this other thing
Else
do this third thing
End it
The problem is that the script doesn’t like trying to figure out if wsisti is between 1 and 10 or 11 and 20. “Can’t make kbasovsky into type number, date or text”.
My alternative is to add a another question to ask if they are a student or teacher and handle it that way, but I would rather not.
Thanks in advanced.
-Will
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden