1. abs function - Reply
John Worthington wrote:
>Okay, one last shot at this:
>function abs(object x)
>return ((x>=0)*2-1)*x
>end function
>This is how I would have done it in C, well, more or less anyways.
Yeah, I like it too, John. Now, tell me, how do you do those objects
in C, more or less?
jiri
2. Re: abs function - Reply
BABOR, JIRI wrote:
> John Worthington wrote:
> >function abs(object x)
> >This is how I would have done it in C, well, more or less anyways.
> Yeah, I like it too, John. Now, tell me, how do you do those objects
> in C, more or less?
jiri
Uh, that's the less part? <grin>
___
_|ohn