Hi g7jiq,
looks simple enough, without my trying your code. You want Disp1, disp2, to run only when sent there,
your code
Code:
Disp1
lcdout "Standby"
Disp2
lcdout "Main"
Disp3
lcdout $FE,$C0,"Local off " 'display on line 2
lcdout $FE,1
Disp4
LCDOUT $FE,$C0,"local on"
lcdout $FE,1
try:
Code:
Disp1:
lcdout "Standby"
return
Disp2:
lcdout "Main"
return
Disp3:
lcdout $FE,$C0,"Local off " 'display on line 2
lcdout $FE,1
return
Disp4:
LCDOUT $FE,$C0,"local on"
lcdout $FE,1
return
end
without the colons the program sees your subdirectories as just the next line of code, the returns send it back to the line after the one which calls it.
JS
Bookmarks