Hi,

just some tips re G_percent()

- put it at the end of the loop not the beginning.

say the iteration takes very long per step. if you put it at the very start it 
instantly says "3% done" the first time you call it then stalls on 100% done 
while the last iteration is executed.

- usually you will have to call it a final time after the for loop to get the 
"100% done" and newline to be printed. This depends on how you write your i++ 
for loop of course, but typically if you don't the number stalls a 99% without 
newline.


Hamish



      

_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to