prog8/examples/test.p8

27 lines
413 B
Plaintext
Raw Normal View History

%import textio
main {
sub start() {
myblock.printit()
myblock2.printit2()
}
}
myblock {
sub printit() {
txt.print_uwhex(&printit, true)
txt.nl()
txt.print_uwhex(&myblock, true)
txt.nl()
}
}
myblock2 {
sub printit2() {
txt.print_uwhex(&printit2, true)
txt.nl()
txt.print_uwhex(&myblock2, true)
txt.nl()
2024-11-08 18:43:59 +00:00
}
}