Bug. (?) Command First doesn't return First type.

Blitz3D Forums/Blitz3D Programming/Bug. (?) Command First doesn't return First type.

Here's the code. This shouldn't be happening. The output is "1,1,2,2,3,3" , but in my opinion the function should point to the first one so it should be "1,1,1,1,1,1". If i'm the first to find this bug, do i get a prize?

Type test
	Field omg
End Type

t.test = New test
t\omg = 1
t.test= New test
t\omg = 2
t.test = New test
t\omg = 3
t.test = New test
t\omg = 4
t.test = New test
t\omg = 5

t.test = First test
PrintOMG(t.test)
t.test = First test
PrintOMG(t.test)
t.test = First test
PrintOMG(t.test)
t.test = First test
PrintOMG(t.test)
t.test = First test
PrintOMG(t.test)
t.test = First test
PrintOMG(t.test)

WaitKey

Function PrintOMG(t.test)

n=1
For t.test = Each test
	If n=1 Then Print "First omg = " + Str(t\omg)
	n=n+1
Next

End Function



In case you're wondering "OMG" stands for "Oh My Gawd!".


It can be fixed in this way:
 
t.test = First test
t = before t
PrintOMG(t.test)

which imo further points out this is a real bug?