Re: QBasic --> Euphoria (again)

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

> function abs(object x)
>     return x*((x>0)-(x<0))
> end function
>
> yours is faster by about 4%! Congratulations! ;and -) jiri

   I hope this is the kind of thing that makes it into the FAQ code
snippets section. :)

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

Search



Quick Links

User menu

Not signed in.

Misc Menu