Culture related bug in Cobra

General discussion about Cobra. Releases and general news will also be posted here.
Feel free to ask questions or just say "Hello".

Culture related bug in Cobra

Postby Charles » Fri Feb 08, 2008 1:39 am

This only affects non-English/American systems.

Cobra is a compiler written in .NET and when converting textual source code like "1.5" to a number, it uses the .NET parsing routines. Well that means if your computer is configured for a culture that writes "1.000" for "one thousand" and "0,5" for "one half" then Cobra will choke on "1.5".

The temporary workaround is to change the national setup in the Windows Control Panel to English.

This will be fixed in the next release coming out soon.

Thanks to booster for reporting and figuring this one out.
Posts: 2515
Location: Los Angeles, CA

Return to Discussion

Who is online

Users browsing this forum: No registered users and 5 guests