[b][red]This message was edited by dartme at 2003-11-9 1:7:51[/red][/b][hr]
Dear Sir or madam
I am having a problem. I have created a type: wff
goes something like this.
Private Type wff
Level As Integer
FirstExp As Variant
SecondExp As Variant
FirstExpNeg As Boolean
SecondExpNeg As Boolean
Current As Boolean
Connective As String
Negated As Boolean
the type declaration works fine, and I can use all the things within the type. However, when I create a wff that looks something like this
dim wff1() as wff
.firstexp = "A"
.connective = "I"
that's good, that's all it takes, anyway. Surely you will notice that it is a dynamic array with currently two elements, the first one having two set properties (non-zero and non-nothing properties that is). All this is fine, the program works with all this information until I try to do this.
I have attempted (it is necessary to do this for this particular program) to set the following[code]
wff1(1).secondexp = wff1(2)[/code]
And as you can see, I am trying to put all of wff1(2) (with its 8 members) into wff1(1) 's secondexp member. I thought that this would be possible because secondexp is a variant type.
Please respond with any helpful comments you might have, or, even if you don't think they're going to be helpful, respond anyway. Thank you very much