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

Home » Public Forums » archive » Re: how can I get the name of a variable as a string?
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: how can I get the name of a variable as a string? [message #73529 is a reply to message #73526] Fri, 12 November 2010 12:49 Go to previous messageGo to previous message
Michael Galloy is currently offline  Michael Galloy
Messages: 1114
Registered: April 2006
Senior Member
On 11/12/10 1:46 PM, F�LDY Lajos wrote:
>
> On Fri, 12 Nov 2010, fgg wrote:
>
>> Hi,
>>
>> How can I get the name of a variable as a string? I found the
>> IDL_VarName() function in the IDL help, but I don't really understand
>> how to use it.
>>
>> char *IDL_VarName(IDL_VPTR v) ??
>>
>> Thanks
>
> name=SCOPE_VARNAME(var)
>
> regards,
> Lajos

Yes, the IDL_VarName routine you saw is part of IDL's internal API
(i.e., if you are interfacing with IDL in C).

Mike
--
www.michaelgalloy.com
Research Mathematician
Tech-X Corporation
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: Alternative to cell_fill?
Next Topic: script for batch compiling

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

Current Time: Fri Nov 28 08:36:41 PST 2025

Total time taken to generate the page: 0.01216 seconds