Re: unknown array size

From: Will Hobbs <Will.Hobbs_at_nyahnyahspammersnyahnyah>
Date: Fri Mar 08 2013 - 16:20:36 MST

Micah

I'm not entirely sure what you mean by 'an array of unknown size'. In the error message you gave, the array 'px' has not been defined which causes the error. Do you mean to predefine an array that you don't know the size of?

Will

From: Micah Sklut <micahs2005@gmail.com<mailto:micahs2005@gmail.com>>
Date: Saturday, 9 March 2013 9:39 AM
To: NCL_Talk <ncl-talk@ucar.edu<mailto:ncl-talk@ucar.edu>>
Subject: unknown array size

My apologies for this novice question, however I couldnt find the answer in the docs.
How do I declare an array of unknown size:

px(np)= x(j)

fatal:Undefined identifier: (px) is undefined, can't continue
fatal:Execute: Error occurred at or near line 50 in file graph_gfs.ncl

The size of array, px, is unknown.

Thank you,

--
Micah Sklut

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Fri Mar 8 14:20:52 2013

This archive was generated by hypermail 2.1.8 : Wed Mar 13 2013 - 14:19:38 MDT