Flag (programming)
Appearance
In computer programming, a flag is a Boolean variable, a bit that can be set to either 1 (Set, Raised, True) or 0 (Unset, False). Its typical use is as a status variable, or for configuration.
It is likely its name came from the small flags on the mailboxes used for delivery of letters and small shipments in the USA, which are customarily raised up by the postman as an indication that a new mail is in.