Re: Delete variables

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Wed Nov 02 2011 - 07:25:09 MDT

Hi Ivanna,

There is no way currently in NCL that you can delete *all* variables
at once.
Usually the requests that we got were for deleting multiple variables,
which Dennis demonstrated below.

I've added a ticket for your request (NCL-1225).

--Mary

On Nov 2, 2011, at 6:22 AM, 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

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

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