I can`t help you with this one except to say there seem to be several issues with types and arrays at the moment, including the built in types, try this:-
` Types test
TYPE Col
colour AS DOUBLE INTEGER
ENDTYPE
DIM j(1) AS Col
DIM i(1) AS DOUBLE INTEGER
k AS DOUBLE INTEGER
k = RGB(255,255,255)
i(1) = k :` RGB(255,255,255)
j(1).colour = k:`RGB(255,255,255)
print "RGB = " + str$(RGB(255,255,255))
print "i(1) = " + str$(i(1))
print "j(1) = " + str$(j(1).colour)
print "k = " + str$(k)
It should give the same result for each variable but only the non-arrayed one works.
I found another problems with strings too, they simply do not work with Select...case.
All I can say is look out for patches, the darkbasic team have always been very efficient at fixing problems and I for one am looking forward to the already hinted at Release 2.