Page 1 of 1

FIXED: lower case "as" leads to irritating error

PostPosted: Thu Apr 15, 2010 9:13 pm
by udo.killermann
When typing "as" instead of "As" in a Dim statement
Code: Select all
Dim myArray as Array

the parser/compiler will display "new line expected" instead of indicating the offending keyword.
newLine.tiff
newLine.tiff (22.11 KiB) Viewed 658 times


Would it hurt to make the keywords case insensitive (resp. "self repairing")?

Re: lower case "as" leads to irritating error

PostPosted: Fri Apr 16, 2010 7:54 am
by berndnoetscher
udo.killermann wrote:When typing "as" instead of "As" in a Dim statement
Code: Select all
Dim myArray as Array

the parser/compiler will display "new line expected" instead of indicating the offending keyword.
newLine.tiff


Would it hurt to make the keywords case insensitive (resp. "self repairing")?


Mhmm... case sensitive shouldn't be changed for some reasons. The best solution would be an error proof code editor, which auto-correct the keywords (it actually do it when change a line an press return, but not if you change a line and exit the line without pressing return).

Re: FIXED: lower case "as" leads to irritating error

PostPosted: Tue Apr 20, 2010 1:29 am
by tanzanite
I see the new beta fixed this! Thank you! :D