In BASIC, the FOR and NEXT statements together perform a series of instructions to be performed in a loop a given number of times.