[comp.sys.mac.hypercard] How to clear a series of fields?

NUAPPLE@NDSUVM1.BITNET (M. G. Stinnett) (07/27/89)

I'm writing a game in HyperCard, and I need to do the following:

The game will have a series of cards with numerical values in fields.
The values will update from card to card as you progress through the cards.

I want the user to be able to go back to see the difference between one
card and the next.  And this is the problem.  I can keep the values from
changing when you go back to the card--with this in the card script:

on openCard
global foo
   if cd fld 2 < 1 then
      put ((foo * .1)+foo) into foo
      put foo into cd fld 2
   else pass openCard
end openCard

But how can I clear cd fld 2 on a series of cards when the user wants to
start a new game?  I don't want to have a huge script naming each and
every card id (if I can avoid it) because there may be 30 or more cards
in this series.

I would be grateful if those with ideas could mail me the answers as
well as posting them, because our newsfeed is sort of shaky due to
a major CPU upgrade.

Thanks,

M. G.