Re: My sloppy ABS function ;-)
- Posted by Ralf Nieuwenhuijsen <nieuwen at XS4ALL.NL> Sep 07, 1998
- 438 views
>if, however, you mean something else, then i'm not >sure what that would be. Well, consider the soft-coded repeat () function: function repeat (object x, integer len) sequence ret ret = {} for index = 1 to len do ret = append (ret, x) end for return ret end function Reproduce does the same, except: ret = ret & x See the difference ? We have two operators, but only one repeat () function.. Ralf Nieuwenhuijsen nieuwen at xs4all.nl