Re: Impossible "If"?
Re: Impossible "If"?
- Subject: Re: Impossible "If"?
- From: Paul Berkowitz <email@hidden>
- Date: Sat, 19 May 2001 00:41:21 -0700
On 5/18/01 10:16 PM, "email@hidden" <email@hidden> wrote:
>
instead, do this
>
>
if length of myString is equal to "" then
>
-- do stuff for the case where the string is empty
>
end if
>
>
While this does throw an error, it's not intuitive what the workaround is.
>
Now you know.
Hmmm. What happens if you write
if length of myString is equal to 0 then
-- do stuff for the case where the string is empty
end if
Why should length of a string equal "" (a string, not an integer, except as
coerced to 0)?
--
Paul Berkowitz