Then you might like to move onto other, more game-programming oriented functions like those who handle sprites, animations, backgrounds... you'll find out that making an animation loop requires a programming loop like those you'll see when learning dos and fors. Then, ideas will start popping out of your mind as you program. You should try them...