boolean flag

[BOO-lee-uhn flag]
nounpl: boolean flags
bandeira booleana
1. A variable in programming that can only hold one of two values (true or false), used to control the flow of a program or indicate the state of a condition
The developer used a boolean flag to determine whether the user was logged in.
O desenvolvedor usou uma bandeira booleana para determinar se o usuário estava conectado.
2. A binary indicator or switch in software that enables or disables a specific feature or behavior
Setting the debug boolean flag to true will output detailed logs.
Definir a bandeira booleana de depuração como verdadeiro gerará logs detalhados.
This is specialized technical terminology used universally in programming and software development across all English and Portuguese-speaking regions. In Brazil, while 'bandeira booleana' is the direct translation, many developers use the English term 'boolean flag' directly in technical discussions and code documentation. The term originates from Boolean algebra and George Boole's contributions to logic.
Synonyms / Sinônimos
boolean variablebinary flagtrue/false flagtoggleswitch

Regional Variations

General Brazilian
bandeira booleana
Standard technical term used across Brazil in programming contexts
São Paulo
bandeira booleana / flag booleano
Both forms accepted; tech industry often uses English term directly
Portugal
sinalizador booleano / flag booleano
Portuguese prefer 'sinalizador' but 'flag' is commonly used in tech
USA
boolean flag
Exclusively used in English; no translation needed in technical documentation

Related Words

booleanvariabletruefalseconditionalif statementlogic gate

Related Idioms & Phrases

flip a flag
set a flag
clear a flag
check a flag
Look up more words on Fala2Me
The free English-Portuguese dictionary with real Brazilian accents, NYC slang, conjugator and more
Open Fala2Me →