Thread: MEL headache!!
View Single Post
# 2 03-12-2010 , 04:41 PM
kbrown's Avatar
Moderator
Join Date: Sep 2002
Location: London, UK
Posts: 3,198
You are essentially just doubling the X value so a simple for loop should do. Something like this

Code:
int $i;
float $x = 0.005;
for($i = 0; $i < $numberOfCVs; $i++)
{
	$x *= 2;
	// Do whatever needs to be done
}


Kari
- My Website
- My IMDB

Do a lot, Fail a lot and Learn a lot!