Page 1 of 1

Culture related bug in Cobra

PostPosted: Fri Feb 08, 2008 1:39 am
by Charles
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.