Re: 3.0.3

new topic     » goto parent     » topic index » view thread      » older message » newer message

CChris wrote:
> Isn't
> }}}
<eucode>
> global constant
> FALSE = 0,
> TRUE = not FALSE
> 
> global type boolean(integer x)
> return x = x = TRUE
> end type
> </eucode>
{{{

> even faster?

However, you cannot use it as a function:
if boolean("fred") then

fails with a type check error on x

Pete

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu