Herewith further information as required:
Code: Select all
sub procedure LCD_Line_Reset()
'it is necessary to call this routine prior to each LCD line being processed.
dim i as byte
'
for i = 0 to (G_LCD_LINECHARS - 1)
G_LCD_Line[i] = ""
next
end sub
Gives following error messages:
(I have removed other unnecessary messages)
259 1010 Hint: Unit "errors.mbas" has been recompiled errors.mbas
1 1015 Hint: Compiling unit "J:\mikroBasic Pro Projects\lcd.mbas" lcd.mbas
49 303 Identifier "end" was not declared lcd.mbas
49 301 "sub"is not valid identifier lcd.mbas
51 301 "procedure"is not valid identifier lcd.mbas
51 304 Syntax error: Expected "end" but "LCD_Scroll_Array_Reset" found lcd.mbas
51 304 Syntax error: Expected "sub" but "(" found lcd.mbas
51 304 Syntax error: Expected "end" but ")" found lcd.mbas
53 304 Syntax error: Expected "sub" but "dim" found lcd.mbas
53 304 Syntax error: Expected "end" but "i" found lcd.mbas
53 304 Syntax error: Expected "." but "," found lcd.mbas
8 307 File "lcd.mcl" not found initialisemcu.mbas
The 2nd last line of the above Basic code should have been "next i"
0 102 Finished (with errors): 04 Aug 2010, 20:31:54 Project 201007.mbpav