1. Built-in routine_ids?

Rob,
Why isn't routine_id allowed/able to get an id for a built-in function?
I want to be able to call them using call_proc...

I'm aware that I can create a lot of my own functions to wrap them,
but why isn't it possible to access them directly?
-- 
MrTrick

new topic     » topic index » view message » categorize

2. Re: Built-in routine_ids?

Patrick Barnes wrote:
> Why isn't routine_id allowed/able to get an id for a built-in function?
> I want to be able to call them using call_proc...
> 
> I'm aware that I can create a lot of my own functions to wrap them,
> but why isn't it possible to access them directly?

There's no logical reason why you can't do this.
I just haven't implemented it yet, since there hasn't been
much demand, and there's no elegant way for me to handle
it internally. It might happen some day.

Regards,
   Rob Craig
   Rapid Deployment Software
   http://www.RapidEuphoria.com

new topic     » goto parent     » topic index » view message » categorize

3. Re: Built-in routine_ids?

Robert Craig wrote:

> There's no logical reason why you can't do this.
> I just haven't implemented it yet, since there hasn't been
> much demand, and there's no elegant way for me to handle
> it internally. It might happen some day.
> 
I vote for this.  I've had to wrap many of them.  I think you (Rob)
underestimate the power routine_id() brings to Euphoria -- it enables so many
things you couldn't do otherwise.  Implementing variable_id() would make it much
more powerful still...

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu