Don't forget to pass the value for initializing the array:

1
let Test_Array = Array2.create<Test_Type> 9 9 A

Once you do this, there are two ways to set a value in the array. Using the Array2.set function:

1
Array2.set Test_Array 0 0 B

Or by using the set_Item dot notation on the array itself:

1
Test_Array.[0,0] <- B
By on 1/15/2009 4:55 AM ()

RayV,this is work,

thank you so much!

By on 1/15/2009 7:13 AM ()
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper