Well, you need a ‘;’ at the end of your second line, but that should work, yes.  With the ‘;’ it compiles for me with csc and mcs.

 

                                    -chris

 

Chris J. Breisch, MCSD, MCDBA

 

 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Krister Hansson
Sent: Friday, May 17, 2002 9:27 AM
To: [EMAIL PROTECTED]
Subject: [Mono-list] declaring decimals

 

I'm doing this, isn't it right??

 

decimal tryDec;

tryDec = 1234.2345M

 

and get this error

 

** ERROR **: file codegen-x86.c: linde 5792 (mono_burg_emit_254): should not be reached

 

can anyone enlighten me with their knowlege    :)

 

/Krister

Reply via email to