Nested Loops in HPOO?

Hi all,

 

Im trying to implement a simple nested loop within HPOO and im running into some problems. Basically the pseudo code im trying to recreate in HPOO is:

 

for( int j = 0; j < 5; j )

{

      for( int i = 0; i < 10; i )

      {

                      AddEmail( i j * 10 ); Send();

      }

}

 

Ther only problem im having is when i try to do mathmateical operations on flow variables. So, for example, im using Counters, and the resultText of Counters are strings. However when i parseint them, it adds on decimal places which i cant seem to get rid of, and so i am unable to use the resulting integer.

 

Has anyone made a nested loop in HPOO?