arrays in types?

BlitzMax Forums/BlitzMax Programming/arrays in types?

The Forum Archive is locked. These are the original blitzbasic.com forums, kept so their posts can still be read and searched. No new topics, replies or edits can be made here. To join the conversation, head over to the Blitz3D+ forums.

The following code tells me that testarr is not found. Are arrays not allowed in types or am I just getting this completely wrong?

Type tfred
	Field testarr[10]
End Type 


Local myfred:tfred = New tfred
tfred.testarr[1] = 10


Never mind simple case of brain damage again. The line

tfred.testarr[1] = 10

should be

myfred.testarr[1] = 10