1. Re: QBasic --> Euphoria (again)
- Posted by jiri babor <jbabor at PARADISE.NET.NZ> Sep 01, 1998
- 689 views
- Last edited Sep 02, 1998
Ralf, you wrote:
function abs (object x)
return x < 0 * -2 + x
end function
Did you not really mean something like
function abs(object x)
return -2*x*(x<0)+x -- or perhaps (1-2*(x<0))*x
end function
because that would work. jiri

