Re: Updated EPP
- Posted by JJProg at CYBERBURY.NET Nov 16, 1998
- 530 views
EU>I meant in general so you could define an infix operator for any function. EU>You'd also need something to define its precedence. EU>Postfix stuff would be cool also, then you could do stuff like: EU>if x is_prime then EU>instead of: EU>if is_prime(x) then Great idea. I'll also allow programs to define custom operators so you could have: function mod(object a, object b) return remainder(a,b) end function setOperator("%",routine_id("mod")) if 5 % 2 then ... Jeffrey Fielding JJProg at cyberbury.net