View Single Post
Old 2010-05-05, 11:33   Link #1043
LelouchVII
Hagane no Renkinjutsushi
 
 
Join Date: May 2009
Location: Greece
Couldn't u make a function that returns only odd numbers? Like :

Code Line :
Start_val=1
Cur_val=Start_val+2
Start_val = Cur_Val

EDIT : The code doesn't work correctly..Needs a better loop modifier..Just posted to provide the main idea..

Last edited by LelouchVII; 2010-05-05 at 12:09.
LelouchVII is offline   Reply With Quote