mirror of
https://github.com/irmen/prog8.git
synced 2024-10-19 07:23:56 +00:00
17 lines
222 B
Lua
17 lines
222 B
Lua
%zeropage basicsafe
|
|
|
|
~ main {
|
|
|
|
sub start() {
|
|
|
|
ubyte[3] array1
|
|
str string1="hello"
|
|
|
|
uword x = &array1
|
|
|
|
word sl = len(@( &string1 ))
|
|
|
|
c64scr.print_w(sl) ; should be 5
|
|
}
|
|
}
|