A variable whose value, true (.T.) or false (.F.), indicates whether some condition holds or whether some event has occurred. A flag is used to control the program's actions at some later time.