Re: deleting a list of variables

From: David Brown <dbrown_at_nyahnyahspammersnyahnyah>
Date: Thu Feb 07 2013 - 11:24:56 MST

Hi James,
Thanks for the report. We will look into this.
 -dave

On Feb 7, 2013, at 11:02 AM, James Scott - NOAA Affiliate wrote:

> I've been trying out the new functionality for the delete function to delete multiple variables with a list. I works great for most variable types I've tried -- and saves lots of lines of code!
>
> I did notice it does not work for file handles, e.g.:
>
> f=addfile("in.file.nc","r")
> g=addfile("in.file2.nc","r")
>
> delete([/f,g/])
> print(g)
>
> Delete does not return any error, but the file handles f and g still exist.
> I know this functionality is in alpha test mode, but I thought I should pass this on in case this was not known.
>
> -Jamie
>
> _______________________________________________
> 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 Thu Feb 7 11:25:08 2013

This archive was generated by hypermail 2.1.8 : Wed Feb 13 2013 - 09:25:58 MST