I haven't had the chance to run it... work,
Thanks, guess I need to read up on this a bit more :o)

r,
james

-----Original Message-----
From: zsdc [mailto:[EMAIL PROTECTED]
Sent: Friday, August 22, 2003 7:58 AM
To: Lile, James AZ2 (VAW-115)
Cc: 'Catriona Wordsworth'; [EMAIL PROTECTED]
Subject: Re: elsif issues ....still


Lile, James AZ2 (VAW-115) wrote:

> Someone correct me if I am wrong, the numbers in quotes are being read as
> strings and not numbers, or numbers not strings.
> The == works with numbers, and the quotes are for strings. I think that
the
> way you have it set up, the number one is returning true when the
$variable
> is defined.

Numbers in quotes are strings but in the numerical context (which is 
provided by the numerical equality operator "==" here) they are 
converted to numbers on the fly (non-number strings being 0), so that's 
not the issue here. Besides, if you run this sample code, you'll see 
that it works just fine.

-zsdc.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to