I was looking at the "VBA and Excel" program on the AfraLisp website and I am trying to code my own application which is based on it. I had a question on this portion of code
[color="red"]Private Sub UserForm_Initialize()
Dim BlkG(0) As Integer
Dim TheBlock(0) As Variant
Dim Pt1(0 To 2) As Double
Dim Pt2(0 To 2) As Double
'declare local variables
Set acad = GetObject(, "AutoCAD.Application")
'set reference to AutoCAD
Set doc = acad.ActiveDocument
'set reference to the drawing
Set ms = doc.ModelSpace
'set reference to model space
Set ssnew = doc.SelectionSets.Add("TBLK")
'create a selection set
Pt1(0) = 0: Pt1(1) = 0: Pt1(2) = 0
Pt2(0) = 3: Pt2(1) = 3: Pt2(2) = 0
'set up the array
BlkG(0) = 2
'group code 2 for block name
TheBlock(0) = "MATLIST"
'the name of the attribute block
ssnew.Select 5, Pt1, Pt2, BlkG, TheBlock
'get the block [/color]
What is the array for? (Pt1(0), Pt1(0) .. etc)