05-11-2009, 11:14 PM
LCD Wrote:Scary, I know... If I writeWell, catching ELSEIF and others missing syntax error is something I will try to improve soon.
and don't use it (or simply rem out the lines where it was used), the compiler throws out:Code:Dim daytime$ as string
"warning: Variable 'daytime' is never used Errors occured, compilation failed".
the same with other variables:
results in "warning: Variable 'a' is never used Errors occured, compilation failed" if I do not use the variable.Code:Dim a as ubyte
Will check again which code resulted in "x definded as float", maybe the break was caused by something different (I often forgot to write "THEN" after IF and ELSEIF) :oops:
Can you paste some code where this happens? (I need more code context).