mirror of
https://github.com/irmen/prog8.git
synced 2025-01-28 17:33:13 +00:00
fix compiler warnings
This commit is contained in:
parent
9f8c70b326
commit
4a98dab948
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
main {
|
main {
|
||||||
sub start() {
|
sub start() {
|
||||||
cx16.screen_set_mode(0)
|
void cx16.screen_set_mode(0)
|
||||||
txt.print("\n\n how many sprites does\n the commander x16 have?\n")
|
txt.print("\n\n how many sprites does\n the commander x16 have?\n")
|
||||||
sys.wait(120)
|
sys.wait(120)
|
||||||
txt.print("\n\n the manual says: '128'.\n")
|
txt.print("\n\n the manual says: '128'.\n")
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
main {
|
main {
|
||||||
|
|
||||||
sub start() {
|
sub start() {
|
||||||
cx16.screen_set_mode(0)
|
void cx16.screen_set_mode(0)
|
||||||
txt.plot(14,14)
|
txt.plot(14,14)
|
||||||
txt.print("raster bars!")
|
txt.print("raster bars!")
|
||||||
|
|
||||||
|
@ -870,7 +870,7 @@ planet {
|
|||||||
ubyte ni
|
ubyte ni
|
||||||
for ni in 1 to len(name) {
|
for ni in 1 to len(name) {
|
||||||
ubyte cc = name[ni]
|
ubyte cc = name[ni]
|
||||||
if cc=='e' or cc=='o' or cc==0
|
if cc in ['e', 'o', 0]
|
||||||
break
|
break
|
||||||
else {
|
else {
|
||||||
@(result_ptr) = cc
|
@(result_ptr) = cc
|
||||||
|
Loading…
x
Reference in New Issue
Block a user