variable form in addfiles context

From: <Mark.Collier_at_nyahnyahspammersnyahnyah>
Date: Tue, 7 Jul 2009 10:02:30 +1000

is there a way of using a character variable to specify and input or output file when readin/writing after an addfile command:

for example


input = addfile("","r")
array = input->ivar

doesn't work as it is looking for variable "ivar". Some how need to expand the variable ivar beforehand.

ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
Received on Mon Jul 06 2009 - 18:02:30 MDT

This archive was generated by hypermail 2.2.0 : Tue Jul 07 2009 - 11:13:18 MDT