O.K. some questions please
1.How do I create a function to modify values in a type without calling the type in the function?
e,g,
2.Can one function be used to modify 2 different types?
e.g.
or do I have to create a damage_van function??
1.How do I create a function to modify values in a type without calling the type in the function?
e,g,
for b.blue_car=each blue_car damage_car(blue_car,20) next function damage_car b.hull=b.hull-20 end function
2.Can one function be used to modify 2 different types?
e.g.
for b.blue_car =each blue_car damage_car(blue_car,20) next for b.blue_van=each blue_van damage_car(blue_van,20) next
or do I have to create a damage_van function??