[IronPython] Doing Simple Math In Silverlight
Andrew Evans
andrew.canit at gmail.com
Fri May 15 00:19:03 CEST 2009
Hello
I am trying to perform some math operations in Silverlight
inputNum1 and inputNum2 are of TextBox
inputNum1 = TextBox()
inputNum2 = TextBox()
result0 = int(inputNum1) + int(inputNum2)
res0.Text = str(result0)
I get the following error
<http://go.microsoft.com/fwlink/?LinkID=124807>
TypeError: expected int, got TextBox
Any ideas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20090514/20e3069c/attachment.html>
More information about the Ironpython-users
mailing list