On 20 Dec 01, at 13:05, Ronald J Kimball wrote: > On Thu, Dec 20, 2001 at 07:00:30PM +0100, Philip Newton wrote: > > On Thu, 13 Dec 2001 10:50:11 -0500, [EMAIL PROTECTED] > > (Ronald J Kimball) wrote: > > > > > (y/a-zA-Z// > 2) & (y/0-9// > 1) > > > > > > Each numeric comparison will return either 1 or 0. > > > > In my experience, 1 or "", rather than 1 or 0. Or is FALSE (PL_NO?) a > > special value which looks like 0 to operators that care, such as > > bitwise-and? > > Yes, PL_NO has a string value of '' and a numeric value of 0, so that you > can treat it as a number without getting a warning.
But which value does bitwise-and use by preference -- the string value or the numeric value? Hm, if I understand pp.c correctly, it's the numeric value, since SvNIOKp is checked first. Cheers, Philip -- Philip Newton <[EMAIL PROTECTED]>