mirror of
https://github.com/irmen/prog8.git
synced 2025-01-12 19:29:50 +00:00
dae59238cd
Fixes #34
24 lines
398 B
Lua
24 lines
398 B
Lua
%import textio
|
|
%zeropage basicsafe
|
|
%option no_sysinit
|
|
|
|
main {
|
|
|
|
byte[] xs1 = "foo1" ; <<<<<<<<<<<<
|
|
str xs2 = "foo2" ; <<<<<<<<<<<<
|
|
sub start() {
|
|
txt.print(xs1)
|
|
stringopt()
|
|
}
|
|
|
|
sub stringopt() {
|
|
str message = "a"
|
|
|
|
txt.print(message)
|
|
txt.nl()
|
|
message[0] = '@'
|
|
txt.print(message)
|
|
txt.nl()
|
|
}
|
|
}
|