mirror of
https://github.com/irmen/prog8.git
synced 2024-10-16 18:23:59 +00:00
25 lines
351 B
Lua
25 lines
351 B
Lua
%import textio
|
|
%import test_stack
|
|
|
|
main {
|
|
|
|
sub start() {
|
|
test_stack.test()
|
|
|
|
ubyte x1 = 10
|
|
ubyte x2 = 20
|
|
ubyte x3 = 30
|
|
|
|
x1 += x2+x3 ; TODO WHY SLOW EVAL????
|
|
x1 += x2-x3 ; TODO WHY SLOW EVAL????
|
|
|
|
txt.print_ub(x1)
|
|
|
|
test_stack.test()
|
|
|
|
repeat {
|
|
}
|
|
|
|
}
|
|
}
|