You should call open() on each iteration:
for(x=0; ; x++) { RawProcessor.open(filename); if(x>P1.raw_count) break; RawProcessor.unpack(); process();
}
<code>
<blockcode>
<c>
<cpp>
<drupal5>
<drupal6>
<java>
<javascript>
<php>
<python>
<ruby>
<foo>
[foo]
More information about formatting options
All topics 2
All comments 2 3
Copyright © 2008-2011 Alex Tutubalin and Illiah Borg
You should call open() on each iteration:
for(x=0; ; x++) {
RawProcessor.open(filename);
if(x>P1.raw_count) break;
RawProcessor.unpack();
process();
}