Re: Delete variables

From: Ian Harris <i.harris_at_nyahnyahspammersnyahnyah>
Date: Wed Nov 02 2011 - 07:06:40 MDT

Ivanna,

This is an oft-requested feature. However, I suspect it would be difficult to implement because of scoping.

One of the experts will be along shortly to confirm, I suspect :)

Cheers

Harry

On 2 Nov 2011, at 12:22, Ivanna Mo wrote:

> Hi,
> What I mean is if there is any function that can delete the variables
> without type them one by one, i.e. something like "delete (all)".
>
> Thank you very much!
> -----Original Message-----
> From: Dennis Shea
> Sent: Wednesday, November 02, 2011 8:07 PM
> To: Ivanna Mo
> Cc: ncl-talk@ucar.edu
> Subject: Re: Delete variables
>
> a = ...
> b = ...
> c = ...
> Assuming you have v6.0
>
> delete ([/ a, b, c /])
>
>
> On 11/2/11 1:35 AM, Ivanna Mo wrote:
>> Hi,
>> I usually assign many variables in a script. I would like to know if
>> there are any ways to delete the all variables that I assigned
>> previously with several lines without closing the script.
>> Thanks in advance!
>> Regards,
>> Ivanna
>>
>>
>> _______________________________________________
>> ncl-talk mailing list
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

Ian "Harry" Harris
Climatic Research Unit
School of Environmental Sciences
University of East Anglia
Norwich NR4 7TJ
United Kingdom

IMPORTANT NOTICE - This email is intended for the named recipient only. It may contain privileged and confidential information. If you are not the intended recipient, notify the sender immediately and destroy this email. You must not copy, distribute or take action in reliance upon it. Whilst all efforts are made to safeguard emails, The School of Environmental Sciences cannot guarantee that attachments are virus free or compatible with your systems and does not accept liability in respect of viruses or computer problems experienced.

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Nov 2 07:06:49 2011

This archive was generated by hypermail 2.1.8 : Fri Nov 04 2011 - 08:43:41 MDT