Re: checking values in property problem
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