FIXED: lower case "as" leads to irritating error

Please report bugs.

FIXED: lower case "as" leads to irritating error

Postby udo.killermann » Thu Apr 15, 2010 9:13 pm

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 659 times


Would it hurt to make the keywords case insensitive (resp. "self repairing")?
--------------
MacBook (2GHz, 4 GByte) - Lion (10.7.3)
started Objective Basic coding in April 2010 - still enjoy it ;-)
udo.killermann
 
Posts: 247
Joined: Thu Apr 08, 2010 6:46 am
Location: Hannover, Germany

Re: lower case "as" leads to irritating error

Postby berndnoetscher » Fri Apr 16, 2010 7:54 am

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).
berndnoetscher
Site Admin
 
Posts: 280
Joined: Fri Feb 20, 2009 11:58 am

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

Postby tanzanite » Tue Apr 20, 2010 1:29 am

I see the new beta fixed this! Thank you! :D
tanzanite
 
Posts: 9
Joined: Thu Apr 01, 2010 5:46 am
Location: Mexico


Return to Bug Reports (Xcode 3)

Who is online

Users browsing this forum: No registered users and 0 guests

cron