|
18.
|
|
|
Return Statement
|
|
|
|
Оператор return (возврат)
|
|
Translated and reviewed by
акаса
|
|
|
|
Located in
../../source/label.rst:99
|
|
19.
|
|
|
The return statement pops the top statement off of the call stack, and transfers control to it. If the call stack is empty, the return statement restarts Ren'Py, returning control to the main menu.
|
|
|
|
Оператор return вытаскивает верхний оператор из стека вызова и передает ему контроль. Если стек вызова пуст, оператор возврата перезапускает Ren'Py, возвращая контроль главному меню.
|
|
Translated and reviewed by
акаса
|
|
|
|
Located in
../../source/label.rst:101
|
|
20.
|
|
|
If the optional expression is given to return, it is evaluated, and it's result is stored in the _return variable. This variable is dynamically scoped to each context.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/label.rst:105
|
|
21.
|
|
|
Special Labels
|
|
|
|
Специальные label-ы (метки)
|
|
Translated and reviewed by
Artemiy
|
|
|
|
Located in
../../source/label.rst:110
|
|
22.
|
|
|
The following labels are used by Ren'Py:
|
|
|
|
Следующие приведенные метки используется в Ren'py
|
|
Translated and reviewed by
Artemiy
|
|
|
|
Located in
../../source/label.rst:112
|
|
23.
|
|
|
``start``
|
|
|
|
``start``
|
|
Translated and reviewed by
акаса
|
|
|
|
Located in
../../source/label.rst:115
|
|
24.
|
|
|
By default, Ren'Py jumps to this label when the game starts.
|
|
|
|
По умолчанию, Ren'py переходит на этот label когда игра начинается
|
|
Translated and reviewed by
Artemiy
|
|
|
|
Located in
../../source/label.rst:115
|
|
25.
|
|
|
``quit``
|
|
|
|
``quit``
|
|
Translated and reviewed by
акаса
|
|
|
|
Located in
../../source/label.rst:119
|
|
26.
|
|
|
If it exists, this label is called in a new context when the user quits the game.
|
|
|
|
Если она есть, этот label вызывается в новом контексте когда пользователь выходит из игры
|
|
Translated and reviewed by
Artemiy
|
|
|
|
Located in
../../source/label.rst:118
|
|
27.
|
|
|
``after_load``
|
|
|
|
``after_load``
|
|
Translated and reviewed by
акаса
|
|
|
|
Located in
../../source/label.rst:123
|