Hi,
in the following statement if location does not=27 the code continues from the serout point, the only way I can get it to run as expected is to change it to the code listed beneath.
I know its probably me but I was just after an explanation as to why.
Rich
if location=27 then gosub homeLCD serout TXLCD, baudLCD64, (#Address," Shut ",Count1,Count2,Count3,Count4,Count5,Count6,Count7,Count8,cr,lf)
return
if location=27 then let location=27 gosub homeLCD serout TXLCD, baudLCD64, (#Address," Shut ",Count1,Count2,Count3,Count4,Count5,Count6,Count7,Count8,cr,lf)
return
endif
in the following statement if location does not=27 the code continues from the serout point, the only way I can get it to run as expected is to change it to the code listed beneath.
I know its probably me but I was just after an explanation as to why.
Rich
if location=27 then gosub homeLCD serout TXLCD, baudLCD64, (#Address," Shut ",Count1,Count2,Count3,Count4,Count5,Count6,Count7,Count8,cr,lf)
return
if location=27 then let location=27 gosub homeLCD serout TXLCD, baudLCD64, (#Address," Shut ",Count1,Count2,Count3,Count4,Count5,Count6,Count7,Count8,cr,lf)
return
endif