How do I check multiple items in a TYPE

Blitz3D Forums/Blitz3D Beginners Area/How do I check multiple items in a TYPE

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.

Yep, exept you have to do something like this:

type seacreature
field name$
field color$
end type

fish\name$ = "goldfish"
fish\color$ = "orange"


The "$" on the end of the variable indicates that it is a 'string', which is a collection of letters. You then can do

If fish\color$ = "orange"


To check if it's orange or not.