• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: If Statements
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: If Statements


  • Subject: Re: If Statements
  • From: Ed Stockly <email@hidden>
  • Date: Fri, 12 Sep 2008 08:40:58 -0700


That's probably not going to work Ed becuase I suspect userName is always a string.

If userName were always a string, then

If (username > 1 and username <10)

would never work.

Of course Tim is right.


Well, Tim is mostly right, especially about Michelle's approach was more sound than mine, but...

>>>Or rather would work, but would return false.

If a boolean always returns false when the scripter is expecting true, it's not working.

ES _______________________________________________
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
  • Follow-Ups:
    • Re: If Statements
      • From: Skeeve <email@hidden>
References: 
 >If Statements (From: William J Sisti <email@hidden>)
 >Re: If Statements (From: Ed Stockly <email@hidden>)
 >Re: If Statements (From: Tim Mansour <email@hidden>)
 >Re: If Statements (From: Ed Stockly <email@hidden>)
 >Re: If Statements (From: Skeeve <email@hidden>)

  • Prev by Date: make new folder behavior
  • Next by Date: Consternation resulting from trying to use Apple Mail as a Gmail IMAP Client
  • Previous by thread: Re: If Statements
  • Next by thread: Re: If Statements
  • Index(es):
    • Date
    • Thread