Yep, exept you have to do something like this:
The "$" on the end of the variable indicates that it is a 'string', which is a collection of letters. You then can do
To check if it's orange or not.
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.