Custom Type using as array

BlitzMax Forums/BlitzMax Beginners Area/Custom Type using as array

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.

Also note that arrays are zero indexed in BMax, so...
Local f:fld[fldnum]

For x = 0 Until fldnum ' could use (0 To fldnum - 1) too
	f[x].typ = ReadByte(file)
	f[x].name = ReadString(file)
Next


[edit]
Just noticed...Isn't this in the wrong forum?
[/edit]