Translation

.level_help_tab_nearest_function_2
You could read the above example as "Memorize the nearest egg in the variable a and then go get that egg".
106/1060
Context English Swedish State
.level_help_tab_set_function_2
You could read the above example as "Set the variable a to 3".
Du kan läsa exemplet ovan som "Sätt variabeln till värdet 3".
.level_help_tab_calc_function_1
%%statement assign-statement$calc%% makes a calculation and puts the result in a variable.
%%statement assign-statement$beräkna%% utför en beräkning och sparar resultatet i en variabel.
.level_help_tab_calc_function_2
You could read the above example as "Set the variable b to a + 2".
Du kan läsa exemplet ovan som "Sätt variabel b till a + 2".
.level_help_tab_calc_function_4
In Selfless Heroes, there are only integer numbers.

The operator %%type-operator$"/"%% is integer division.
For example, %%type-operator$9 / 2 = 4%%.

The operator %%type-operator$"%"%% is called "modulo". It calculates the remainder of the integer division.
For example, %%type-operator$9 % 2 = 1%% because %%type-operator$9 / 2 = 4%% has a remainder of 1.
I Selfless Heroes finns det bara heltal.

Operatorn %%type-operator$"/"%% är heltalsdivision.
Till exempel, %%type-operator$9 / 2 = 4%%.

Operatorn %%type-operator$"%"%% kallas "modulo". Den beräknar resten av heltalsdivisionen.
Till exempel, %%type-operator$9 % 2 = 1%% eftersom %%type-operator$9 / 2 = 4 har resten 1%%.
.level_help_tab_nearest_function_1
%%statement assign-statement$nearest%% searches for the nearest object of a given type (%%icon icon-cauldron$%% cauldron, %%icon icon-egg$%%egg etc.) and puts the result in a variable.
%%statement assign-statement$närmaste%% söker efter närmaste objekt av angiven typ (%%icon icon-cauldron$%% kittel, %%icon icon-egg$%% ägg, etc.) och sparar resultatet i en variabel.
.level_help_tab_nearest_function_2
You could read the above example as "Memorize the nearest egg in the variable a and then go get that egg".
Du kan läsa exemplet ovan som "Memorera det närmaste ägget i variabel a och gå sedan och hämta det ägget".
.level_help_tab_tell_function_1
%%statement speach-statement$tell%% allows you to say a message to other heroes.
%%statement speach-statement$säg%% låter dig säga ett meddelande till andra hjältar.
.level_help_tab_tell_function_2
You could read the above example as "Tell 'ok' to the hero on the right of you".
Du kan läsa exemplet ovan som "Säg "ok" till hjälten som är till höger om dig".
.level_help_tab_tell_function_4
You can also %%statement speach-statement$tell%% a message to every %%icon icon-hero$%% hero of the level.
Du kan också %%statement speach-statement$säg%% ett meddelande till varje %%icon icon-hero$%% hjälte på nivån.
.level_help_tab_tell_function_5
You could read the above example as "Tell "hey" to everyone".
Du kan läsa exemplet ovan som "Säg "hej" till alla".
.level_help_tab_listen_function_1
%%statement speach-statement$listen%% tells the hero to wait until he hears a specific message.
%%statement speach-statement$lyssna%% säger till hjälten att vänta till den hör ett specifikt meddelande.
Context English Swedish State
.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$hoppa%% används normalt sett med %%statement branching-statement$om%% för att skapa loopar som avbryts vid ett villkor.
.level_help_tab_jump_statement_6
You could read the above example as "Step to the right as long as the square to the right is not a wall".
Du kan läsa exemplet ovan som "Gå till höger så länge som rutan till höger inte är en vägg".
.level_help_tab_listen_function_1
%%statement speach-statement$listen%% tells the hero to wait until he hears a specific message.
%%statement speach-statement$lyssna%% säger till hjälten att vänta till den hör ett specifikt meddelande.
.level_help_tab_listen_function_2
You could read the above example as "Wait for a hero to tell you "hey" then go right".
Du kan läsa exemplet ovan som "Vänta till en hjälte säger "hej" till dig och gå sedan till höger".
.level_help_tab_nearest_function_1
%%statement assign-statement$nearest%% searches for the nearest object of a given type (%%icon icon-cauldron$%% cauldron, %%icon icon-egg$%%egg etc.) and puts the result in a variable.
%%statement assign-statement$närmaste%% söker efter närmaste objekt av angiven typ (%%icon icon-cauldron$%% kittel, %%icon icon-egg$%% ägg, etc.) och sparar resultatet i en variabel.
.level_help_tab_nearest_function_2
You could read the above example as "Memorize the nearest egg in the variable a and then go get that egg".
Du kan läsa exemplet ovan som "Memorera det närmaste ägget i variabel a och gå sedan och hämta det ägget".
.level_help_tab_set_function_1
%%statement assign-statement$set%% initializes a variable.
%%statement assign-statement$sätt%% sätter värdet på en variabel.
.level_help_tab_set_function_2
You could read the above example as "Set the variable a to 3".
Du kan läsa exemplet ovan som "Sätt variabeln till värdet 3".
.level_help_tab_statement_code_example
code example:
kodexempel:
.level_help_tab_statement_graph_code_example
example:
exempel:

Loading…

Loading…

Glossary

English Swedish
No related strings found in the glossary.

Source information

Context
.level_help_tab_nearest_function_2
Labels
No labels currently set!
Source string age
5 years ago
Translation file
src/locale/messages-sv.json, string 137