Re: v2.5 suggestions

new topic     » goto parent     » topic index » view thread      » older message » newer message

>>> guest at RapidEuphoria.com 11/22/2004 10:22:52 AM >>>
> And let's get routine_id()'s for the built-in functions for the final
v2.5 already.
>  This can't possibly be a very big deal at all...

I know, it sounds simple, but there are some complications.
I'll look at it again.
----------------------------------
One possible solution is wrap the built-in functions you need to
routine_id.  I can only imagine a handful of reasons why you would need
this (a roundabout way of executing strings being one of them), since
all the built-ins are above any written code.  It might look something
like this:
atom putsID
global procedure id_puts_screen(sequence s)
  puts(1,s)
end procedure
putsID = routine_id("id_puts_screen")

call_proc(putsID,{"Testing."})


Using routine_ids for built-ins would be slower than calling them
directly; but if it were really needed, perhaps a standard include of
all built-ins wrapped would answer the need.

HTH,
Michael J. Sabal

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu