Re: if statement not working
- Posted by David Cuny <dcuny at LANSET.COM> Mar 23, 2002
- 957 views
rforno wrote:
> if s[1..2] = "/*" then ...
> could never work fine. It gives an error message telling conditions must be
> atoms.
Yes, and that's perhaps the most suprising bit of all. You'd sort of expect
that with an emphasis on being orthagonal, the 'if' would accept {0, 0} as
false, and { 0, 1 } as true.
-- David Cuny

