Re: [IronPython] [ ] -> System.Array

2006-11-08 Thread Martin Maly
_ From: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Mujtaba Syed [EMAIL PROTECTED] Sent: Monday, November 06, 2006 5:11 PM To: Discussion of IronPython Subject: [IronPython] [ ] -> System.Array How can I convert a IronPython list ([ ]) into a CLR array (System.Array)? Than

[IronPython] [ ] -> System.Array

2006-11-08 Thread Mujtaba Syed
How can I convert a IronPython list ([ ]) into a CLR array (System.Array)? Thanks, Mujtaba ___ users mailing list users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

[IronPython] [ ] -> System.Array

2006-11-08 Thread Mujtaba Syed
How can I convert a IronPython list ([ ]) into a CLR array (System.Array)? Thanks, Mujtaba ___ users mailing list users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

[IronPython] [] <-> System.Array

2006-11-08 Thread Mujtaba Syed
How can one program System.Array in IronPython?   mujtaba syed | software development engineer virtual earth microsoft corporation [EMAIL PROTECTED] (425) 706-8340   ___ users mailing list users@lists.ironpython.com http://lists.ironp

[IronPython] [ ] -> System.Array

2006-11-08 Thread Mujtaba Syed
How can I convert a IronPython list ([ ]) into a CLR array (System.Array)? Thanks, Mujtaba ___ users mailing list users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Re: [IronPython] System.Array

2006-09-08 Thread Sanghyeon Seo
2006/9/9, Dino Viehland <[EMAIL PROTECTED]>: > We thought that CreateInstance was a handy enough way to do this so we > didn't re-invent the wheel. Given our current syntax for creating an array > requiring a sequence we've left the window open to add your proposed syntax > in the future but it'd

Re: [IronPython] System.Array

2006-09-08 Thread Dino Viehland
think the CreateInstance call is.   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kristof Wagemans Sent: Friday, September 08, 2006 10:12 AM To: 'Discussion of IronPython' Subject: Re: [IronPython] System.Array   The question is: is there an alternative syntax

Re: [IronPython] System.Array

2006-09-08 Thread Kristof Wagemans
). But this throws an exception.   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of J. Merrill Sent: Friday 8 September 2006 18:57 To: Discussion of IronPython Subject: Re: [IronPython] System.Array   Did you leave some part of your own question un-answered

Re: [IronPython] System.Array

2006-09-08 Thread J. Merrill
Did you leave some part of your own question un-answered?  CreateInstance does just what you said you wanted to know how to do, doesn't it? At 04:22 AM 9/8/2006, Kristof Wagemans wrote You can create an int array of length 3 with: System.Array[int]((1,2,3))   Is there an alternative syntax to cr

[IronPython] System.Array

2006-09-08 Thread Kristof Wagemans
You can create an int array of length 3 with: System.Array[int]((1,2,3))   Is there an alternative syntax to create an int array of length 3 without passing in a tuple with 3 values? I know that I can create one with: System.Array.CreateInstance(int,3)   _