A flag is an indicator with two states, true or false. To begin with the flag may be unset (false) and when a particular case is detected it is set (true); when the action has been completed it is unset again (back to false).To unset a flag is to make it false.

Related terms

Term sub categories

Programming
   variables