This might make it a little clearer:

Code:
tempcode:

if butstart=0 then
text="start"           <<<<<<<<<<<
endif

if butstop=0 then
text= "stop"           <<<<<<<<<<<<<
endif

if butreset=0 then
text= "reset"         <<<<<<<<<
endif

gosub lcdcontrol
goto tempcode


lcdcontrol:
	LCDOUT $FE, 1, data <<<<<<<<<<<<<
	pause 20
return
But im getting a error: Bad expression on the following lines marked above with a <<<<<