<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV>Hello,</DIV>
<DIV> </DIV>
<DIV>I'm trying to create multiple objects of the vtkRectilinearReader class. It works fine, if I do it like this:</DIV>
<DIV> </DIV>
<DIV>const int number = 4;</DIV>
<DIV> vtkRectilinearGridReader *Reader[number];<BR> for(int nr = 0; nr < number; nr++)<BR> {<BR> Reader[nr] = vtkRectilinearGridReader::New();<BR> }</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>But when "number" is not a constant, this doesn't work. Is there a away to do this without having "number" to be a constant?</DIV>
<DIV> </DIV>
<DIV>Thanks</DIV>
<DIV>Dmitri</DIV></td></tr></table><br>