Getting First Object in type list

BlitzMax Forums/BlitzMax Beginners Area/Getting First Object in type list

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.

I wouldn't store varieties as strings.. what if one is "Black" and one is "black" by accident?

Have a TVariety type, with a string field for name, and each carrot has a TVariety. Then you only store the info of the name once :)