[Mono-list] declaring decimals

Chris J. Breisch cjbreisch@altavista.net
Fri, 17 May 2002 14:20:28 -0500


This is a multi-part message in MIME format.

------=_NextPart_000_0009_01C1FDAE.09282FD0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

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: mono-list-admin@ximian.com [mailto:mono-list-admin@ximian.com] On
Behalf Of Krister Hansson
Sent: Friday, May 17, 2002 9:27 AM
To: mono-list@ximian.com
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


------=_NextPart_000_0009_01C1FDAE.09282FD0
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>

<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">


<meta name=3DGenerator content=3D"Microsoft Word 10 (filtered)">

<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:Verdana;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
h1
	{margin-top:12.0pt;
	margin-right:0in;
	margin-bottom:3.0pt;
	margin-left:0in;
	text-align:center;
	page-break-after:avoid;
	font-size:16.0pt;
	font-family:Arial;}
h2
	{margin-top:12.0pt;
	margin-right:0in;
	margin-bottom:3.0pt;
	margin-left:0in;
	page-break-after:avoid;
	font-size:14.0pt;
	font-family:Arial;}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
p.Code, li.Code, div.Code
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:10.0pt;
	font-family:"Courier New";
	color:black;}
p.E-mail, li.E-mail, div.E-mail
	{margin:0in;
	margin-bottom:.0001pt;
	text-autospace:none;
	font-size:12.0pt;
	font-family:"Times New Roman";
	color:maroon;}
span.NormalFont
	{font-family:Verdana;}
span.EmailStyle20
	{font-family:Verdana;
	color:maroon;
	font-weight:normal;
	font-style:normal;
	text-decoration:none none;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
	{page:Section1;}
-->
</style>

</head>

<body bgcolor=3Dwhite lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D1 color=3Dmaroon face=3DVerdana><span
style=3D'font-size:9.0pt;font-family:Verdana;color:maroon'>Well, you =
need a &#8216;;&#8217;
at the end of your second line, but that should work, yes.&nbsp; With =
the &#8216;;&#8217;
it compiles for me with csc and mcs.</span></font></p>

<p class=3DMsoNormal><font size=3D1 color=3Dmaroon face=3DVerdana><span
style=3D'font-size:9.0pt;font-family:Verdana;color:maroon'>&nbsp;</span><=
/font></p>

<p class=3DMsoNormal><font size=3D1 color=3Dmaroon face=3DVerdana><span
style=3D'font-size:9.0pt;font-family:Verdana;color:maroon'>&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
-chris</span></font></p>

<p class=3DMsoNormal><font size=3D1 color=3Dmaroon face=3DVerdana><span
style=3D'font-size:9.0pt;font-family:Verdana;color:maroon'>&nbsp;</span><=
/font></p>

<div>

<p class=3DMsoNormal><b><font
size=3D1 color=3Dmaroon face=3DVerdana><span =
style=3D'font-size:9.0pt;font-family:Verdana;
color:maroon;font-weight:bold'>Chris J. Breisch, <i><span =
style=3D'font-style:
italic'>MCSD, MCDBA</span></i></span></font></b></p>

<p class=3DMsoNormal><font color=3Dmaroon><span =
style=3D'color:maroon'>&nbsp;</span></font></p>

</div>

<p class=3DMsoNormal><font size=3D1 color=3Dmaroon face=3DVerdana><span
style=3D'font-size:9.0pt;font-family:Verdana;color:maroon'>&nbsp;</span><=
/font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
face=3DTahoma><span
style=3D'font-size:10.0pt;font-family:Tahoma'>-----Original =
Message-----<br>
<b><span style=3D'font-weight:bold'>From:</span></b> =
mono-list-admin@ximian.com
[mailto:mono-list-admin@ximian.com] <b><span =
style=3D'font-weight:bold'>On Behalf
Of </span></b>Krister Hansson<br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> Friday, May 17, =
2002 9:27 AM<br>
<b><span style=3D'font-weight:bold'>To:</span></b> =
mono-list@ximian.com<br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> [Mono-list] =
declaring
decimals</span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D3 =
face=3D"Times New Roman"><span
style=3D'font-size:12.0pt'>&nbsp;</span></font></p>

<div>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>I'm doing this, isn't it =
right??</span></font></p>

</div>

<div>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>&nbsp;</span></font></p>

</div>

<div>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>decimal =
tryDec;</span></font></p>

</div>

<div>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>tryDec =3D =
1234.2345M</span></font></p>

</div>

<div>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>&nbsp;</span></font></p>

</div>

<div>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>and get this =
error</span></font></p>

</div>

<div>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>&nbsp;</span></font></p>

</div>

<div>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>** ERROR **: file =
codegen-x86.c:
linde 5792 (mono_burg_emit_254): should not be reached</span></font></p>

</div>

<div>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>&nbsp;</span></font></p>

</div>

<div>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>can anyone enlighten me =
with their
knowlege&nbsp;&nbsp;&nbsp; :)</span></font></p>

</div>

<div>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>&nbsp;</span></font></p>

</div>

<div>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>/Krister</span></font></p>

</div>

</div>

</body>

</html>

------=_NextPart_000_0009_01C1FDAE.09282FD0--