Re: Checking if routine id is of a procedure or a of function?
- Posted by Alexander Toresson <alexander.toresson at gmail.com> Apr 10, 2005
- 481 views
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