Example as applicable if my understand of type is correct:
[code]
Type seacreature
Field name
Field color
End Type
fish.seacreature = new seacreature
fish/name goldfish
fish/color orange
fish.seacreature = new seacreature
fish/name nemo
fish/color orange
fish.seacreature = new seacreature
fish/name shark
fish/color grey
for fish.seacreature = each seacreature
c = fish/color:n = fish/name
if c = orange then print n + "is orange!"
next
[/Code]
Am I on the right track? :)
+BlackD
[code]
Type seacreature
Field name
Field color
End Type
fish.seacreature = new seacreature
fish/name goldfish
fish/color orange
fish.seacreature = new seacreature
fish/name nemo
fish/color orange
fish.seacreature = new seacreature
fish/name shark
fish/color grey
for fish.seacreature = each seacreature
c = fish/color:n = fish/name
if c = orange then print n + "is orange!"
next
[/Code]
Am I on the right track? :)
+BlackD