|
38.
|
|
|
Time statements are implicitly preceded by a pause statement with an infinite time. This means that if control would otherwise reach the time statement, it waits until the time statement would take control.
|
|
|
|
Подразумевается, что перед операторами time стоит оператор pause с неограниченным временем. Это означает, что если управление достигнет оператора time, оно будет ждать до передачи управления этому оператору.
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/atl.rst:220
|
|
39.
|
|
|
When there are multiple time statements in a block, they must strictly increase in order.
|
|
|
|
Когда в блоке есть несколько операторов time, они должны быть расположены строго в порядке возрастания.
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/atl.rst:224
|
|
40.
|
|
|
Expression Statement
|
|
|
|
Оператор-выражение
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/atl.rst:238
|
|
41.
|
|
|
An expression statement is a simple statement that starts with a simple expression. It then contains an optional with clause, with a second simple expression.
|
|
|
|
Оператор-выражение - простой оператор, начинающийся с простого выражения. После него следует необязательное слово with с вторым выражением.
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/atl.rst:240
|
|
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
|