; Repeating things with For, While and Repeat ; For counts for you For n = 1 To 5 Print "5 x " + n + " = " + 5 * n Next ; Step changes how it counts Write "Countdown:" For n = 5 To 1 Step -1 Write " " + n Next Print " lift off!" ; While keeps going as long as something is true total = 0 count = 0 While total < 20 count = count + 1 total = total + count Wend Print "1 + 2 + ... + " + count + " = " + total + " (past 20!)" WaitKey End