• 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: checking values in property problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: checking values in property problem


  • Subject: Re: checking values in property problem
  • From: "email@hidden" <email@hidden>
  • Date: Sun, 13 May 2001 15:08:45 -0400

> What happens if you do this:
>
> property app_1 : ""
> property app_2 : ""
>
> if app_1 = "" or app_2 = "" then
>
> display dialog "At least one is an empty string"
>
> set app_1 to 0
>
> end if
>
> if app_1 = "" or app_2 = "" then
>
> display dialog "At least one is an empty string"
>
> else
>
> display dialog "At least one is NOT an empty string"
>
> end
Is this logically what you want to do? It should get to the string after
the display but will never get there since there is always at least one
empty string. Maybe an "and" vis an or?

doug


  • Follow-Ups:
    • Re: checking values in property problem
      • From: Arthur J Knapp <email@hidden>
  • Prev by Date: Re: Photoscripting IPTC captions
  • Next by Date: RE: Photoscripting IPTC captions
  • Previous by thread: Re: checking values in property problem
  • Next by thread: Re: checking values in property problem
  • Index(es):
    • Date
    • Thread