The BOUNCE.PRG program illustrates the use of the MOVE command. This program defines and activates the Bounce window, then executes the MOVE command to randomly move the window about the screen. It also randomly changes the color of the window. It uses the RAND() function (which returns a pseudorandom number between 0 and 1.0) to pick a random direction each time the window moves and changes its color scheme. If you enter any character, the program terminates. The argument for the INKEY() function is .1, which limits the speed of the loop to one cycle every tenth of a second. Without this time delay, the window moves too fast to see. The expression containing nested IIF() function calls computes the direction that the window moves. If the bouncing window gets too near the edge of the screen, the window moved away from the edge. Otherwise, it moves a random direction.