|
42.
|
|
|
There are three things the first simple expression may evaluate to:
|
|
|
|
Первое выражение может быть одним из трех:
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/atl.rst:247
|
|
43.
|
|
|
If it's a transform, that transform is executed. With clauses are ignored when a transform is supplied.
|
|
|
|
Если это трансформация, она выполняется. Условия with игнорируются.
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/atl.rst:249
|
|
44.
|
|
|
If it's an integer or floating point number, it's taken as a number of seconds to pause execution for.
|
|
|
|
Если это число, оно будет принято как время для паузы.
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/atl.rst:252
|
|
45.
|
|
|
Otherwise, the expression is interpreted to be a displayable. This displayable replaces the child of the transform when this clause executes, making it useful for animation. If a with clause is present, the second expression is evaluated as a transition, and the transition is applied to the old and new displayables.
|
|
|
|
В противном случае, выражение преобразовывается к отображаемому объекту. Этот объект заменяет потомка трансформации при выполнений данного оператора, что делает это полезным для анимации. Если существует условие with, второе выражение преобразуется к переходу, который применяется к новому и старому изображению.
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/atl.rst:255
|
|
46.
|
|
|
Pass Statement
|
|
|
|
Оператор pass
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/atl.rst:277
|
|
47.
|
|
|
The pass statement is a simple statement that causes nothing to happen. This can be used when there's a desire to separate statements, like when there are two sets of choice statements that would otherwise be back-to-back.
|
|
|
|
Оператор pass - простой оператор, не делающий ничего. Он может быть использован для отделения операторов.
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/atl.rst:282
|
|
48.
|
|
|
Repeat Statement
|
|
|
|
Оператор repeat
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/atl.rst:287
|
|
49.
|
|
|
The repeat statement is a simple statement that causes the block containing it to resume execution from the beginning. If the expression is present, then it is evaluated to give an integer number of times the block will execute. (So a block ending with "repeat 2" will execute at most twice.)
|
|
|
|
Оператор repeat - простой оператор, который вернет управление к началу содержащего его блока. Если присутствует выражение, оно преобразуется к количеству повторений блока (так, блок заканчивающийся на "repeat 2" будет выполнен дважды).
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/atl.rst:290
|
|
50.
|
|
|
The repeat statement must be the last statement in a block.::
|
|
|
|
Оператор repeat должен быть последним оператором блока.::
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/atl.rst:298
|
|
51.
|
|
|
Block Statement
|
|
|
|
Оператор block
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/atl.rst:308
|