abs function
- Posted by John Worthington <woodmage at EARTHLINK.NET> Sep 01, 1998
- 585 views
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. Laters, ___ _|ohn