kurz/tests/while.qbl

21 lines
154 B
Plaintext
Raw Normal View History

2022-12-14 11:46:47 +01:00
//valid,output:10987654321
2022-12-14 20:39:51 +01:00
true while
2022-12-14 11:46:47 +01:00
{
2022-12-14 20:39:51 +01:00
false
2022-12-14 11:46:47 +01:00
}
2022-12-14 20:39:51 +01:00
10 0 dup > req
while
2022-12-14 11:46:47 +01:00
{
2022-12-14 20:39:51 +01:00
dup print
1 - 0 dup > req
2022-12-14 11:46:47 +01:00
}
2022-12-14 20:39:51 +01:00
deq
true true true while
{
false
}
print print