if statement
[/ɪf ˈsteɪtmənt/]
nounpl: if statements
instrução condicional
1. A programming control structure that executes a block of code only if a specified condition is true
The if statement checks whether the user's age is greater than 18 before granting access.
A instrução condicional verifica se a idade do usuário é maior que 18 antes de conceder acesso.
2. A conditional statement in code that uses the keyword 'if' to test a boolean expression
In this if statement, if the temperature exceeds 30 degrees, the air conditioning turns on automatically.
Nesta instrução condicional, se a temperatura exceder 30 graus, o ar condicionado liga automaticamente.
The term 'if statement' is universally used in programming across Brazil, Portugal, and English-speaking countries. In Brazilian tech education, it's commonly referred to as 'instrução condicional' in formal contexts, but programmers often mix English and Portuguese, saying 'comando if' or simply 'if'. This reflects the global nature of programming, where English terminology dominates even in non-English-speaking countries.
Look up more words on Fala2Me
The free English-Portuguese dictionary with real Brazilian accents, NYC slang, conjugator and more
Open Fala2Me →