mirror of
https://github.com/ton-blockchain/ton
synced 2025-02-13 03:32:22 +00:00
14 lines
223 B
Text
14 lines
223 B
Text
|
() main(cs) impure {
|
||
|
int i = 0;
|
||
|
if (cs.slice_refs()) {
|
||
|
do {
|
||
|
i = i + 1;
|
||
|
} until(i > 10);
|
||
|
}
|
||
|
set_data(begin_cell()
|
||
|
.store_uint(1, 32)
|
||
|
.store_uint(2, 32)
|
||
|
.store_uint(i, 32)
|
||
|
.end_cell());
|
||
|
}
|