[portland] Need Help With a For Loop

kirby urner kirby.urner at gmail.com
Fri Mar 21 18:53:20 CET 2008


OK Rich, so just to be sure:

This is the input:

varData = [("Low","Variety","Fish","Wildlife","Decay
S-Curve",1,0.0,100.0,0.0,50.0,0.0,50.0,50.0,50.0,100.0,1.0,2),
("High","Variety","Fish","Wildlife","Growth
S-Curve",2,0.0,100.0,0.0,50.0,0.0,100.0,50.0,50.0,100.0,1.0,2),
("Low","SpecialConcern","Fish","Wildlife","Decay
S-Curve",1,0.0,50.0,0.0,50.0,0.0,50.0,50.0,0.0,50.0,1.0,3),
("Moderate","SpecialConcern","Fish","Wildlife","Bell
Curve",2,0.0,100.0,0.0,100.0,0.0,50.0,50.0,50.0,50.0,1.0,3),
("Many","SpecialConcern","Fish","Wildlife","Growth
S-Curve",3,50.0,100.0,50.0,50.0,0.0,100.0,50.0,100.0,50.0,1.0,3)]

And this is the desired output:

Starting a new plot ...
Component:  Wildlife Subcomponent:  Fish Parent:  Variety
       Decay S-Curve
       Growth S-Curve
Ending this plot ...

Starting a new plot ...
Component:  Wildlife Subcomponent:  Fish Parent:  SpecialConcern
       Decay S-Curve
       Bell Curve
       Growth S-Curve
Ending this plot ...

> I hope this makes it easy for you!

I think so.  Back to you shortly.

Thanks for helping out, good team work.

Kirby


More information about the Portland mailing list