I need this transformed into a for statement
- Code: Select all
if (i<hp)
{
setpen(0, 255, 255, 0, 3);
moveto(i, 0);
lineto(i, height-1);
i++;
}
if (i<hp)
{
setpen(0, 255, 255, 0, 3);
moveto(i, 0);
lineto(i, height-1);
i++;
}
Users browsing this forum: No registered users and 1 guest