Path: utzoo!attcan!uunet!cs.utexas.edu!husc6!psuvax1!psuvm!cunyvm!ndsuvm1.bitnet!nuapple From: NUAPPLE@NDSUVM1.BITNET (M. G. Stinnett) Newsgroups: comp.sys.mac.hypercard Subject: How to clear a series of fields? Message-ID: <2594NUAPPLE@NDSUVM1> Date: 26 Jul 89 21:22:23 GMT References: <89071522490898@masnet.uucp> <11672@orstcs.CS.ORST.EDU> Organization: North Dakota Higher Education Computer Network, Fargo, ND Lines: 29 Disclaimer: Author bears full responsibility for contents of this article. 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.