prog8/examples/test.p8

23 lines
406 B
Plaintext
Raw Normal View History

%import textio
2022-01-23 21:34:05 +00:00
%import string
%zeropage basicsafe
2021-10-30 13:15:11 +00:00
main {
sub start() {
str s1 = "irmen"
ubyte ff = 1
txt.print(&s1+ff)
txt.nl()
txt.print(&s1+ff)
txt.nl()
txt.print_uwhex(&s1+ff, true)
ubyte[] array = [1,2,3,4]
txt.print_uwhex(&array+ff, true)
txt.nl()
txt.print_uwhex(&array+ff, true)
txt.nl()
}
}