← Back to Fala2Me

conditional statement

[kənˈdɪʃənəl ˈsteɪtmənt]
nounpl: conditional statements
declaração condicional
1. A statement in logic or programming that asserts something is true only if a certain condition is met; typically expressed in the form 'if-then'
In the conditional statement 'If it rains, then the game will be cancelled,' the condition is that it rains.
Na declaração condicional 'Se chover, então o jogo será cancelado', a condição é que chova.
2. A logical construct used in computer programming to execute code based on whether a specified condition evaluates to true or false
The conditional statement checks if the user's age is greater than 18 before granting access.
A declaração condicional verifica se a idade do usuário é maior que 18 antes de conceder acesso.
Synonyms
if-then statementconditionalconditional clauseproposição condicional

Regional Variations

General Brazilian
declaração condicional
Standard usage in both technical and general contexts
Portugal
afirmação condicional
Alternative term sometimes used in European Portuguese
Technical/Programming
instrução condicional
Commonly used in programming documentation

Related Idioms & Phrases

if-then logic
on the condition that
provided that
Look up more words on Fala2Me
The free English-Portuguese dictionary with real Brazilian accents, NYC slang, conjugator and more
Open Fala2Me →