prog8/examples/test.p8

22 lines
268 B
Plaintext
Raw Normal View History

%import textio
%zeropage basicsafe
2022-03-13 11:52:12 +00:00
2022-06-08 19:05:03 +00:00
main {
2022-07-04 21:42:49 +00:00
2022-07-08 20:03:05 +00:00
ubyte key
sub func() -> ubyte {
return key=='a'
}
sub func2() -> bool {
return key=='z'
2022-06-29 20:19:44 +00:00
}
sub start() {
2022-07-08 20:03:05 +00:00
bool @shared z1=func()
bool @shared z2=func2()
}
2022-02-17 23:40:31 +00:00
}