comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Discover the name (at calling level) of passed parameter
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Discover the name (at calling level) of passed parameter [message #33996 is a reply to message #33982] Tue, 11 February 2003 08:20 Go to previous messageGo to previous message
Pavel A. Romashkin is currently offline  Pavel A. Romashkin
Messages: 531
Registered: November 2000
Senior Member
I use the solution offered by David but I find that in any situation
except debugging I can re-design my program to avoid this need. You
never have to know the name of variable - only its contents. If you end
up wanting the name, make it a structure with a Name field, I was told.
Cheers,
Pavel

Kristian Kj�r wrote:
>
> I sometimes find myself wanting to know the name of a passed parameter:
> At the called procedure level I need to know the name that the parameter
> had at the calling level.
>
> The code below illustrates what I can_not_ do by simple means.
> Are there any dirty tricks I could emply to this end?
>
> Thanks for any pointers, Kristian
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: find contoure
Next Topic: Change to exclusive buttons in 5.6?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 02:17:46 PDT 2025

Total time taken to generate the page: 0.19245 seconds