<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV>Hello,</DIV>
<DIV>&nbsp;</DIV>
<DIV>I'm trying to create multiple objects of the vtkRectilinearReader class. It works fine, if I do it like this:</DIV>
<DIV>&nbsp;</DIV>
<DIV>const int number = 4;</DIV>
<DIV>&nbsp;&nbsp;vtkRectilinearGridReader *Reader[number];<BR>&nbsp;&nbsp;for(int&nbsp;nr = 0;&nbsp;nr &lt; number; nr++)<BR>&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;Reader[nr] = vtkRectilinearGridReader::New();<BR>&nbsp;&nbsp;}</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</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>&nbsp;</DIV>
<DIV>Thanks</DIV>
<DIV>Dmitri</DIV></td></tr></table><br>