mirror of
https://github.com/irmen/prog8.git
synced 2024-09-10 09:54:32 +00:00
15 lines
227 B
Lua
15 lines
227 B
Lua
%import textio
|
|
%import math
|
|
%zeropage basicsafe
|
|
|
|
main {
|
|
sub start() {
|
|
ubyte index
|
|
ubyte[] t_index = [1,2,3,4,5]
|
|
ubyte nibble = 0
|
|
|
|
index -= t_index[4]
|
|
index -= t_index[nibble]
|
|
}
|
|
}
|