Browsing Russian translation

31 of 37 results
31.
The biggest problem, though, is that no python code is executed before the statement that is warped to. This means that all variables will be uninitialized, which can lead to crashes when they are used. To overcome this, one can define a label ``after_warp``, which is called after a warp but before the warped-to statement executes. The code reached by this label can set up variables in the program, and then return to the preview.
Однако самой большой проблемой является то, что никакого кода Python не выполняется. Это означает, что переменные не будут иметь значений, что приведет к сбоям при их использовании. Чтобы избежать этого, вы можете определить метку ``after_warp``, которая будет вызвана после перехода и до передачи управления пользователю. Эта метка может установить необходимые переменные и вернуться к игре.
Translated and reviewed by theadmin
Located in ../../source/developer_tools.rst:116
31 of 37 results

This translation is managed by Russian Launchpad Translators, assigned by Launchpad Translators.

You are not logged in. Please log in to work on translations.