Path: utzoo!censor!geac!torsqnt!lethe!yunexus!ists!helios.physics.utoronto.ca!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!hsdndev!think.com!zaphod.mps.ohio-state.edu!usc!elroy.jpl.nasa.gov!jpl-devvax!beowulf!dmittman From: dmittman@beowulf.JPL.NASA.GOV (David Mittman) Newsgroups: comp.sys.mac.hypercard Subject: Re: ASK PASSWORD Bug in HC 2.0?!?! Message-ID: <10985@jpl-devvax.JPL.NASA.GOV> Date: 10 Jan 91 15:46:36 GMT References: <1991Jan8.160347.2747@fennel.cc.uwa.oz.au> <151@atux01.UUCP> Sender: news@jpl-devvax.JPL.NASA.GOV Reply-To: dmittman@beowulf.JPL.NASA.GOV (David Mittman) Organization: Jet Propulsion Laboratory, Pasadena, CA. Lines: 9 As with most of the dialog facilities in HyperCard, the "ask password" command returns the password in "it" and the button click in "the result". Always check "the result" to find out how the user ended their interaction with the dialog. If the user canceled, "the result" will contain "Cancel". If the user exited normally, "the result" will be empty. I believe that an empty result will always be indicative of a normal exit. If an error occurs (Cancelling is considered and "error") then "the result" should be assigned a value. - David