Im not sure who wrote that. Its a good example but using Oshonsoft Basic was a bad idea since most dont use it. (in my opinion) Most people use C or ASM for 16F Pics. I know nothing about that compiler so i cant help much but you can try this:
Code:
Proc send_lcd_char()
Select Case char
Case 0
'do nothing
Case 1
Lcdcmdout LcdHome
Lcdcmdout LcdClear
Case 2
Lcdcmdout LcdLine2Home
Lcdcmdout LcdLine2Clear
Case 3
Lcdcmdout LcdLine3Home
Lcdcmdout LcdLine3Clear
Case 4
Lcdcmdout LcdLine4Home
Lcdcmdout LcdLine4Clear
Case Else
Lcdout char
EndSelect
End Proc
Thats what i would have written since it would allow you to simply send a Line Number then the ASCII...