On 27 Jun 2001 17:45:18 +0200, Jos Boumans wrote:
> > How do you mean?
> 
> concider:
> if ('a' == 'b') { print "foo" } # this will print 'foo', seeing 'a' and 'b' both 
>yield '1' in numeric
> context here.

You mean 0 not 1 don't you?

> 
> however
> 
> $x = 'a';
> print $x + 4;
> 
> will print '4';
> 
> Jos Boumans
> 
> 
> > Converting 'a' to a number gives 0.
> >
> > --
> > Paul Johnson - [EMAIL PROTECTED]
> > http://www.pjcj.net
> 
> 
--
Today is Pungenday, the 32nd day of Confusion in the YOLD 3167
Kallisti!


Reply via email to