My user defined type is "Wireframe" and I get a type mismatch when I try to pass it to my sub.
SUB Draw3D(WF AS WireFrame)
^^^ Here is where the sub starts
In the main code, here is where my array is defined.
DIM Pyramid(5) AS WireFrame
And here I try to call my sub procedure and pass "Pyramid" along with it. I get a type mismatch error. =(
CALL Draw3D(Pyramid())
Anyone know why it would say that, even though to my eyes it should match as a 'Wireframe' type.
SUB Draw3D(WF AS WireFrame)
^^^ Here is where the sub starts
In the main code, here is where my array is defined.
DIM Pyramid(5) AS WireFrame
And here I try to call my sub procedure and pass "Pyramid" along with it. I get a type mismatch error. =(
CALL Draw3D(Pyramid())
Anyone know why it would say that, even though to my eyes it should match as a 'Wireframe' type.