<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                合規國際互聯網加速 OSASE為企業客戶提供高速穩定SD-WAN國際加速解決方案。 廣告
                Haxe不支持像 C 中傳統的 for 循環。它的 for關鍵字期望一個開口的圓括號 (,然后一個變量標識符,之后一個關鍵字 in,和一個任意表達式作為迭代的集合;在閉口的圓括號 ) 之后,是任意的循環體表達式。 > Haxe does not support traditional for-loops known from C.Its for keyword expects an opening parenthesis (, then a variable identi?er followed by the keyword in and an arbitrary expression used as iterating collection. After the closing parenthesis ) follows an arbitrary loop body expression. ~~~ for (v in e1) e2; ~~~ 類型工具確保 e1 的類型可以被迭代,典型的情況是是否有一個iterator方法返回一個Iterator<T>類型,或者它本身是一個 Iterator<T>類型。 > The typer ensures that the type of e1 can be iterated over, which is typically the case if it has an iterator method returning an Iterator<T>, or if it is an Iterator<T> itself. 變量 v 然后可以在循環體 e2 中使用,保存了e1集合的某個個體元素。 > Variable v is then available within loop body e2 and holds the value of the individual elements of collection e1. Haxe有一個特別的范圍操作符控制迭代次數。這是一個二院操作符,操作兩個操作數:min...max,返回一個從min(包括)到max(不包括)的IntIterator類型的實例。注意,max不能小于min。 > Haxe has a special range operator to iterate over intervals. It is a binary operator taking two Int operands: min...max returns an IntIterator instance that iterates from min (inclusive) to max (exclusive). Note that max may not be smaller than min. ~~~ for (i in 0...10) trace(i); // 0 to 9 ~~~ for表達式的類型總是 Void ,也就是說沒有值可以被使用作為右側表達式。 > The type of a for expression is always Void, meaning it has no value and cannot be used as right-side expression. 循環的控制流被 break(第5.20節)表達式影響,也受 continue(第5.21節)表達式影響。 > The control ?ow of loops can be affected by break (5.20) and continue (5.21) expressions.
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看