Jan 10, 2012 #1 pierrotsc Programmer Nov 25, 2007 358 US Anyway i could do a for loop with a 0.1 increment or am i just limited to integer? Thanks. P
Jan 10, 2012 1 #2 Glenn9999 Programmer Jun 19, 2004 2,312 US You're limited to integers and to single iterations of 1 with for loops. It is not possible for anyone to acknowledge truth when their salary depends on them not doing it. Upvote 0 Downvote
You're limited to integers and to single iterations of 1 with for loops. It is not possible for anyone to acknowledge truth when their salary depends on them not doing it.
Jan 10, 2012 1 #3 majlumbo Programmer Jul 13, 2010 295 US If you want to use a for loop, but need the values to iterate through .1, .2, .3, .n Then simply divide I by 10... var X: Double; begin For I := 1 to 100 do begin X := I/10; ... end; end; Upvote 0 Downvote
If you want to use a for loop, but need the values to iterate through .1, .2, .3, .n Then simply divide I by 10... var X: Double; begin For I := 1 to 100 do begin X := I/10; ... end; end;
Jan 10, 2012 Thread starter #4 pierrotsc Programmer Nov 25, 2007 358 US Awesome Idea...Thanks. Upvote 0 Downvote