Re: Checking if routine id is of a procedure or a of function?

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

Elliott Sales de Andrade wrote:
> 
> Pete Lomax wrote:
> > Alexander Toresson wrote:
> > >Andy Serpa wrote:
> > >> > DGuy wrote:
> > >> > > Something like this would be nice:
> > >> > > 
> > >> > >   if func_id(routine_id) then ...
> > >> > >   if proc_id(routine_id) then ...
> > >> We should get the whole function prototype -- function/procedure, how
> > >> many parameters
> > >> and their types.  I've been asking for that for years...
> > Perchance a trivial change to eu.ex. (I dunno)
> > So just attempt it !!!!
> > Three of you (at least) want it; why not work together on it?
> > You never know, if you come up with a slick solution,
> > Mr-stick-in-the-mud might just accept it, and incorporate it into the
> > official run-time, just where you want it...!!!
> >
> 
> Just for the heck of it, how's this? I guess it was fairly trivial since it
> only took
> me less the time from this.parent.timeOfReadBy(ME) until
> this.timeOfReadBy(YOU) to
> write it up (sorry to those who don't like OOP ;).
>    This will create a new function called routine_info() that will return the
>    following
> information about a routine_id.
<snip>

You rule! I'll make Xaero include that in VEEU.

Regards, Alexander Toresson

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

Search



Quick Links

User menu

Not signed in.

Misc Menu