Re: Another Error
- Posted by Pete Lomax <petelomax at blueyonder.co.uk> Feb 01, 2007
- 667 views
CChris wrote: > One thing which I find missing in Eu is the ability to perform element wise > operations that might apply to sequences as a whole. I'd like to > be able to write > > }}} <eucode> > s=atom(`x) > </eucode> {{{ > I have a psqop.e file which wraps some 35 such functions like you showed, if that helps. The above is available as sq_atom(x). >In a nutshell, functional operators are missing. Are you talking about routine_id not working on builtins? Again, you could write a standard include to solve this, eg:
function _atom(object o) return atom(o) end function function Routine_ID(sequence name) integer r r = routine_id(name) if r=-1 then r=routine_id('_'&name) end if return r end function
Regards, Pete