Re: 3.0.3

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

CChris wrote:

<snip>

> PS for Pete: anyway, I'd expect boolean() to crash if fed a sequence, so my
> routine can indeed be used as a function. If you want a return of 0 for
> sequences, then indeed it is not suitable.

So you can use it yourself as a function, because it works like you expect.
However, I think about 99% of the Euphoria programmers expect a type when
used as function _not_ to crash, but to return either TRUE or FALSE.

Regards,
   Juergen

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

Search



Quick Links

User menu

Not signed in.

Misc Menu