[kepler-users] Kepler: Array instatiation and Array element assignment

Ricardo.Pascual at csiro.au Ricardo.Pascual at csiro.au
Sun Sep 30 12:39:43 PDT 2012


Hi All, 

Oooops wrong title.

Thanks,

Ric

________________________________________
From: kepler-users-bounces at kepler-project.org [kepler-users-bounces at kepler-project.org] On Behalf Of Ricardo.Pascual at csiro.au [Ricardo.Pascual at csiro.au]
Sent: Sunday, 30 September 2012 9:11 PM
To: Kepler-users at kepler-project.org; cxh at eecs.berkeley.edu; crawl at sdsc.edu
Subject: [ExternalEmail] Re: [kepler-users] netCDF

Hi All,

I am about a week old into Kepler and having difficulty defining an array variable programmatically.  I have search the internet for this to no avail.   I know how to do it as a constant by assigning the value = {"x1", ...}.

What I like to do is define a variable with scope workflow wide say

string fileNames[];

then assign values to it as in

fileNames[0] = "file0"
fileNames[1] = "file1"


and so on.


Thank you very much,

Ric
_______________________________________________
Kepler-users mailing list
Kepler-users at kepler-project.org
http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users


More information about the Kepler-users mailing list