Translation

.level_help_tab_if_statement_6
Click on the plus sign to add other conditions.
51/470
Context English Esperanto State
.level_help_tab_statement_graph_code_example
example:
ekzemplo:
.level_help_tab_if_statement_1
%%statement branching-statement$if%% allows to run instructions only if a given condition is true.
%%statement branching-statement$if%% permesas ruli instrukciojn nur se donita kondiĉo veras.
.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".
Oni povus legi la supran ekzemplon kiel "Se la kvadrato dekstre de mi estas muro, tiam iru maldekstren. Alie iru dekstren".
.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$if%% kontrolas ĉu la kondiĉo veras, tiukaze ĝi ruligos la instrukciojn ene de ĝi (instrukcioj dekstre de la vertikala griza linio). Alie ĝi ruligos la instrukciojn ene de la %%statement branching-statement$else%% se ĝi ekzistas.
.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$else%% komence ne aperas en la %%statement branching-statement$if%%. Por ke ĝi aperu, trenu ajnan instrukcion super la %%statement branching-statement$if%%.
Se vi forigas ĉiujn instrukciojn ene de %%statement branching-statement$else%%, ĝi malaperos.
.level_help_tab_if_statement_6
Click on the plus sign to add other conditions.
Alklaku la plus-signon por aldoni aliajn kondiĉojn.
.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".
Oni povus legi la supran ekzemplon kiel "Se la kvadrato dekstre de mi estas muro aŭ se la kvadrato dekstre de mi estas truo, tiam iru maldekstren".
.level_help_tab_jump_statement_1
%%statement branching-statement$jump%% allows to jump backward or forward in the program.
%%statement branching-statement$jump%% permesas salti malantaŭen aŭ antaŭen en la programo.
.level_help_tab_jump_statement_2
You could read the above example as "Step to the right infinitely many times".
Oni povus legi la supran ekzemplon kiel "Paŝi dekstren senfinfoje".
.level_help_tab_jump_statement_4
The first line creates an "anchor" named "a". The third line says to jump back to this anchor.
You can choose any name you want for your anchors. Each jump must match a unique anchor.
La unua linio kreas "ankron" nomitan "a". La tria linio diras salti reen al ĉi tiu ankro.
Oni povas elekti ajnan nomon, kiun oni volas por siaj ankroj. Ĉiu salto devas kongrui kun unika ankro.
.level_help_tab_jump_statement_5
%%statement branching-statement$jump%% is usually used with %%statement branching-statement$if%% to create loops which stop at a condition.
%%statement branching-statement$jump%% estas kutime uzata kun %%statement branching-statement$if%% por krei buklojn kiuj ĉesas per kondiĉo.
Context English Esperanto State
.level_help_tab_general_objectives_stars
There are 3 stars to win per level:
Estas 3 steloj por gajni po nivelo:
.level_help_tab_if_statement_1
%%statement branching-statement$if%% allows to run instructions only if a given condition is true.
%%statement branching-statement$if%% permesas ruli instrukciojn nur se donita kondiĉo veras.
.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".
Oni povus legi la supran ekzemplon kiel "Se la kvadrato dekstre de mi estas muro, tiam iru maldekstren. Alie iru dekstren".
.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$if%% kontrolas ĉu la kondiĉo veras, tiukaze ĝi ruligos la instrukciojn ene de ĝi (instrukcioj dekstre de la vertikala griza linio). Alie ĝi ruligos la instrukciojn ene de la %%statement branching-statement$else%% se ĝi ekzistas.
.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$else%% komence ne aperas en la %%statement branching-statement$if%%. Por ke ĝi aperu, trenu ajnan instrukcion super la %%statement branching-statement$if%%.
Se vi forigas ĉiujn instrukciojn ene de %%statement branching-statement$else%%, ĝi malaperos.
.level_help_tab_if_statement_6
Click on the plus sign to add other conditions.
Alklaku la plus-signon por aldoni aliajn kondiĉojn.
.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".
Oni povus legi la supran ekzemplon kiel "Se la kvadrato dekstre de mi estas muro aŭ se la kvadrato dekstre de mi estas truo, tiam iru maldekstren".
.level_help_tab_jump_statement_1
%%statement branching-statement$jump%% allows to jump backward or forward in the program.
%%statement branching-statement$jump%% permesas salti malantaŭen aŭ antaŭen en la programo.
.level_help_tab_jump_statement_2
You could read the above example as "Step to the right infinitely many times".
Oni povus legi la supran ekzemplon kiel "Paŝi dekstren senfinfoje".
.level_help_tab_jump_statement_4
The first line creates an "anchor" named "a". The third line says to jump back to this anchor.
You can choose any name you want for your anchors. Each jump must match a unique anchor.
La unua linio kreas "ankron" nomitan "a". La tria linio diras salti reen al ĉi tiu ankro.
Oni povas elekti ajnan nomon, kiun oni volas por siaj ankroj. Ĉiu salto devas kongrui kun unika ankro.

Loading…

Loading…

Glossary

English Esperanto
No related strings found in the glossary.

Source information

Context
.level_help_tab_if_statement_6
Labels
No labels currently set!
Source string age
6 years ago
Translation file
src/locale/messages-eo.json, string 109