It would be very useful to have a #Region directive in the Intent language as there is in .net.
For those unfamiliar: http://msdn.microsoft.com/en-us/library/sd032a17%28v=vs.71%29.aspx
Basically regions allow you to expand/collapse sections of code. This makes organization much easier.
#Region "Child Rules"
Child testCenters As :IvSphere, Quantity = Length(testParts) origin = GetTestPartPoint(child.index) ignorePosition? = False Radius = 5 color = "Green" End Child
#End Region#Region "Methods" Method GetTestPartPoint(mIndex As Integer) As Point Dim xyz As List = nth(mIndex, testParts).CenterOfMass Return Point(first(xyz), second(xyz), third(xyz)) End Method#End Region
You must be a registered user to add a comment here. If you've already registered, please log in. If you haven't registered yet, please register and log in.