[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sc-users] as boolean
Note, as Julian points out...
if(x != 0) { true } { false }
is redundant because comparison operators already return booleans! x
!= 0 will return the same result and take even less typing than
.asBoolean
Maybe you don't really need the "if."
hjh
On 5/12/06, thor <th.list@xxxxxxxxx> wrote:
Anyway, I'll just solve it with an if statement
cheers
--
James Harkins /// dewdrop world
jamshark70@xxxxxxxxxxxxxxxxx
http://www.dewdrop-world.net
"Come said the Muse,
Sing me a song no poet has yet chanted,
Sing me the universal." -- Whitman