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

Home » Public Forums » archive » Re: renaming a variable without making a copy
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: renaming a variable without making a copy [message #68932 is a reply to message #68924] Tue, 08 December 2009 06:51 Go to previous messageGo to previous message
David Higgins is currently offline  David Higgins
Messages: 13
Registered: August 2009
Junior Member
On 8 Dec, 13:18, David Fanning <n...@dfanning.com> wrote:
> Dave Higgins writes:
>
> .
>
>> Can I rename a variable to a more approrpriate name, instead of making
>> a copy of the variable
>
>> I'm using /OVERWRITE to save memory, through a number of operations on
>> a large multi-dimensional array. I'd like to keep my code readable and
>> rename the variable to reflect what the data currently are.
>
> newName = Temporary(oldName)
>
> Cheers,
>
> David
>
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.dfanning.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")

Thanks!
Dave
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: journal call broken with 7.x
Next Topic: Re: Apropos of Nothing

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

Current Time: Wed Oct 08 17:15:32 PDT 2025

Total time taken to generate the page: 0.00440 seconds