I am designing a artificial life simulator atm and it would be very useful if I could pass any statement as an argument. For Example.
LoopStatement(X += 2,50)//loop statement 50 times //or LoopStatement(X += 2 * Speed,75)//loop statement 75 times
I know the for loop has something like that. Also how would use it?
Any help would be appreciated links or explanations.