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

Home » Public Forums » archive » Re: Tough System Variable Question for the IDL Gurus
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: Tough System Variable Question for the IDL Gurus [message #68625 is a reply to message #68622] Wed, 11 November 2009 16:12 Go to previous messageGo to previous message
ben.bighair is currently offline  ben.bighair
Messages: 221
Registered: April 2007
Senior Member
On Nov 11, 5:26 pm, FĂ–LDY Lajos <fo...@rmki.kfki.hu> wrote:
> On Wed, 11 Nov 2009, David Fanning wrote:
>> OK, you IDL gurus. How do you delete an IDL system variable
>> you have created with DefSysV without getting out of the IDL session?
>
>> IDL> DefSysV, '!TESTER', 5
>> IDL> DelVar, !TESTER
>> % DELVAR: Expression must be named variable in this context: <INT
>> ( 5)>.
>
>> IDL> Undefine, !Tester
>> IDL> Help, !Tester
>> <Expression> INT = 5
>
>> My current thinking is that it is not possible. Any good ideas?
>
>> Cheers,
>
>> David
>
> You are right, it is not possible:
>
> "System variables have a predefined type and structure that cannot be
> changed." (IDL Reference Guide)
>
> regards,
> Lajos

Hi,

Why do you want to remove a system variable?

Would making the system variable a pointer or object work? At least
then you could destroy/dereference them. I recall that I used an
object as a system variable for the old "CoolHelp" thingy. And
another thing, you *are* an IDL guru.

Cheers,
Ben
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Use the device fonts for Ytitle on screen
Next Topic: _extra keyword

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

Current Time: Wed Oct 08 19:01:48 PDT 2025

Total time taken to generate the page: 0.00468 seconds