mirror of
https://github.com/irmen/prog8.git
synced 2024-09-10 09:54:32 +00:00
18 lines
348 B
Lua
18 lines
348 B
Lua
%import textio
|
|
%import string
|
|
%zeropage basicsafe
|
|
|
|
main {
|
|
sub start() {
|
|
str[] names = ["a", "aa", "harry", "the Quick Brown Fox jumps Over the LAZY dog!"]
|
|
|
|
uword name
|
|
for name in names {
|
|
txt.print_ub(string.hash(name))
|
|
txt.spc()
|
|
txt.print(name)
|
|
txt.nl()
|
|
}
|
|
}
|
|
}
|