Frank,
you catched yourself into own trap with following :
[code=thinbasic]
dim r as long
%asterix = 2
For r as long = 1 to 5
lover(1).jake(r).startrek = %asterix
printl lover(1)
NEXT
[/code]
Lover is of type Horror. So it can have members: jimmy, paula, theThing(1 to 5) or jake(1 to 10).
Lover(1).jake(r) => correct, if dotted further:
jake() is of type comix, which can have members: batman, hulk, spiderman, xmen, transmitter, starttrek
Lover(1).jake(r).startrek => correct, if dotted further:
startrek is of type Apple, which can have members: r, s, color, pants
but you did not listed any of these members.
So you would have to type something like:
[code=thinbasic]
lover(1).jake(r).startrek.r = %asterix
[/code]
Your assignment:
[code=thinbasic]
lover(1).jake(r).startrek = %asterix
[/code]
would be possible for assigning variable of type Apple, not number.
Bookmarks