View Single Post
  #3 (permalink)  
Old 05-11-2006, 06:12 PM
ibadah ibadah is offline
Member
 
Join Date: Dec 2005
Posts: 69
ibadah is on a distinguished road
Quote:
Originally Posted by elihayun
You cannot use more bars that u have. You have exactlly Bars bars. . So if NumberOfBarToCalculate is greater then Bars, you have to set it to Bars. Something like this:
if (NumberOfBarToCalculate > Bars) NumberOfBarToCalculate = Bars;
Eli,

I think you explain it very well.
Thanks mate, I owe you one. Appreciated.

My best wishes - Ben
Reply With Quote