Translation

.level_help_tab_if_statement_1
%%statement branching-statement$if%% allows to run instructions only if a given condition is true.
106/980
Context English Portuguese State
.level_help_tab_general_objectives_star3
star 3:
estrela 3:
.level_help_tab_general_objectives_star3_objective
code length secondary objective
objetivo secundário de tamanho de código
.level_help_tab_general_objectives_star3_advice
To achieve this objective, your program should be as few lines as possible (line numbers are displayed to the left of the heroes' instructions).
Para alcançar esse objetivo, seu programa deve ter o mínimo de linhas possíveis (o número das linhas são exibidas a esquerda das instruções dos heróis).
.level_help_tab_statement_code_example
code example:
exemplo de código:
.level_help_tab_statement_graph_code_example
example:
exemplo:
.level_help_tab_if_statement_1
%%statement branching-statement$if%% allows to run instructions only if a given condition is true.
%%statement branching-statement$se%% permite rodar instruções somente quando alguma condição é verdadeira.
.level_help_tab_if_statement_2
You could read the above example as "If the square to the right of me is a wall, then go to the left. Otherwise go to the right".
Você poderia ler o exemplo acima como "Se o quadrado da direto de mim for uma parede, ande para a esquerda, senão, ande para a direita".
.level_help_tab_if_statement_3
%%statement branching-statement$if%% checks if the condition is true in which case it will run the instructions inside it (instructions to the right of the vertical gray line). Otherwise it will run the instructions inside the %%statement branching-statement$else%% if there is one.
%%statement branching-statement$se%% verifica se a condição especificada é verdadeira e então roda as instruções dentro da função (instruções à direita da linha cinza). Caso contrário, irá ser rodado as instruções dentro da função %%statement branching-statement$senão%%, se ela existir.
.level_help_tab_if_statement_4
%%statement branching-statement$else%% is not initially part of the %%statement branching-statement$if%%. To make it appear, drag any instruction over the %%statement branching-statement$if%%.
If you remove all the instructions inside %%statement branching-statement$else%%, it will disappear.
%%statement branching-statement$senão%% não faz parte inicialmente do %%statement branching-statement$se%%. Para fazê-la aparece, arraste qualquer instruções sob o %%statement branching-statement$se%%.
Se você remover todas instruções dentro de %%statement branching-statement$senão%%, ela irá desaparecer.
.level_help_tab_if_statement_6
Click on the plus sign to add other conditions.
Clique no sinal de mais para adicionar outras condições.
.level_help_tab_if_statement_7
You could read the above example as "If the square to the right of me is a wall or if the square to the right of me is a hole, then go to the left".
Você poderia ler o exemplo acima como "Se o quadrado a direita de mim for uma parede ou o quadrado a direita de mim for um buraco, então ande para a esquerda".
Context English Portuguese State
.level_help_tab_general_objectives_star2_objective
run time secondary objective
objetivo secundário de velocidade do programa
.level_help_tab_general_objectives_star3
star 3:
estrela 3:
.level_help_tab_general_objectives_star3_advice
To achieve this objective, your program should be as few lines as possible (line numbers are displayed to the left of the heroes' instructions).
Para alcançar esse objetivo, seu programa deve ter o mínimo de linhas possíveis (o número das linhas são exibidas a esquerda das instruções dos heróis).
.level_help_tab_general_objectives_star3_objective
code length secondary objective
objetivo secundário de tamanho de código
.level_help_tab_general_objectives_stars
There are 3 stars to win per level:
Há 3 estrelas para ganhar por nível:
.level_help_tab_if_statement_1
%%statement branching-statement$if%% allows to run instructions only if a given condition is true.
%%statement branching-statement$se%% permite rodar instruções somente quando alguma condição é verdadeira.
.level_help_tab_if_statement_2
You could read the above example as "If the square to the right of me is a wall, then go to the left. Otherwise go to the right".
Você poderia ler o exemplo acima como "Se o quadrado da direto de mim for uma parede, ande para a esquerda, senão, ande para a direita".
.level_help_tab_if_statement_3
%%statement branching-statement$if%% checks if the condition is true in which case it will run the instructions inside it (instructions to the right of the vertical gray line). Otherwise it will run the instructions inside the %%statement branching-statement$else%% if there is one.
%%statement branching-statement$se%% verifica se a condição especificada é verdadeira e então roda as instruções dentro da função (instruções à direita da linha cinza). Caso contrário, irá ser rodado as instruções dentro da função %%statement branching-statement$senão%%, se ela existir.
.level_help_tab_if_statement_4
%%statement branching-statement$else%% is not initially part of the %%statement branching-statement$if%%. To make it appear, drag any instruction over the %%statement branching-statement$if%%.
If you remove all the instructions inside %%statement branching-statement$else%%, it will disappear.
%%statement branching-statement$senão%% não faz parte inicialmente do %%statement branching-statement$se%%. Para fazê-la aparece, arraste qualquer instruções sob o %%statement branching-statement$se%%.
Se você remover todas instruções dentro de %%statement branching-statement$senão%%, ela irá desaparecer.
.level_help_tab_if_statement_6
Click on the plus sign to add other conditions.
Clique no sinal de mais para adicionar outras condições.

Loading…

Loading…

Glossary

English Portuguese
No related strings found in the glossary.

Source information

Context
.level_help_tab_if_statement_1
Labels
No labels currently set!
Source string age
6 years ago
Translation file
src/locale/messages-pt.json, string 105