Re: Parrot strings: are strings like "\x{FF10}" false?

2002-01-26 Thread Simon Cozens
On Sat, Jan 26, 2002 at 10:42:17AM +, David Chan wrote: > Which Parrot strings are supposed to be false in a boolean context? Thinking more deeply about this, I guess it depends entirely on the language, although we can provide string_bool as a sensible default. > For instance, is "\x{FF10}

Re: Parrot strings: are strings like "\x{FF10}" false?

2002-01-26 Thread Alex Gough
On Sat, 26 Jan 2002, David Chan wrote: > Hi, > > Which Parrot strings are supposed to be false in a boolean context? > For instance, is "\x{FF10}" (FULLWIDTH DIGIT ZERO) false? > > docs/strings.pod says[1] a string is false if it "consists of one > digit character whose numeric value (as decided

Parrot strings: are strings like "\x{FF10}" false?

2002-01-26 Thread David Chan
Hi, Which Parrot strings are supposed to be false in a boolean context? For instance, is "\x{FF10}" (FULLWIDTH DIGIT ZERO) false? docs/strings.pod says[1] a string is false if it "consists of one digit character whose numeric value (as decided by its character type) is zero". However, string.c