Disliked{quote} Im sorry but I was wrong earlier. I just noticed you said it doesn't display proper values either. SessionBars goes into the loop as 0, which then I believe skips the for loop, for(ii=0;(ii<SessionBars);ii++){ Try moving your loop check and ii increment to the bottom of the loop like this for(ii=0; ; ){ ...your code... i++; if(ii>=SessionBars)break;}Ignored
so cn't use it.
- Below FOR loop does same thing as original code n no need for SessionBars--
for(ii=0; ii<SessionBars-i; ii++){
Still it has same issues as original code.