Actually using for...next for this kind of task has never been a good idea.
The way to do it is:

while(CountRecord()>0)
  RemoveModule(0);

- bobby

-----Original Message-----

You should write somthing like:

UInt16 n = CountRecord();
for(i = 0; i < n; i++)
     RemoveModule(i);

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to