/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ function main() { getlocal0 pushscope pushbyte 0 coerce_a setlocal1 loop: findproperty print getlocal1 callpropvoid print(1) //callproperty print(1) //pop // lose the print return //inclocal_i 1 pushbyte 1 coerce_a getlocal1 coerce_a add coerce_a dup setlocal1 pushbyte 10 coerce_a ifngt loop returnvoid }