Need an array of Types

BlitzPlus Forums/BlitzPlus Programming/Need an array of Types

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Type Record
Field F1
Field F2
End Type
Global Transaction=New Record
Dim Transaction(6000)
X=12
WriteFile file
For Transaction(X).Record = Each Record
WriteLine file, Transaction(X)\F1
WriteLine file, Transaction(X)\F2
Next

The above didn't work! Can somebody straighten it out for me, this should be my last hurdle to finish my program!
Next
CloseFile file