Yes, there is plan to fix this. In some cases the Single type already works, 
but there are places where the support is still missing.

Martin

________________________________________
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kirk Olynyk
Sent: Sunday, May 15, 2005 9:28 AM
To: users-ironpython.com@lists.ironpython.com
Subject: [IronPython] Trouble with Single's

It seems that IronPython is comfortable with double data types but not 
single's. To get around this I am forced to to a Convert.ToDouble(singleThingy) 
every time that I find one. Is there a plan to fix this?
 
 
 
import sys
 
sys.LoadAssemblyByName("System")
sys.LoadAssemblyByName("System.Drawing")
 
from System         import *
from System.Drawing import *
 
pointF = PointF(1,1)    # so far so good
X = pointF.X + 1        # boom
 
_______________________________________________
users-ironpython.com mailing list
users-ironpython.com@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to