Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!utgpu!water!watmath!clyde!rutgers!ukma!psuvm.bitnet!cunyvm!byuvax!taylorj
From: taylorj@byuvax.UUCP
Newsgroups: comp.sys.mac.hypercard
Subject: YAHCB (Yet Another HyperCard Bug)
Message-ID: <60taylorj@byuvax.bitnet>
Date: Thu, 3-Dec-87 21:55:24 EST
Article-I.D.: byuvax.60taylorj
Posted: Thu Dec  3 21:55:24 1987
Date-Received: Thu, 10-Dec-87 00:47:27 EST
Lines: 31

If you use GET or PUT to put a script into a container, it works fine in
a mouseUp handler, but EXECUTES the script in a mouseDown handler!  For
example, put
     
  on mouseup
    beep 2
  end mouseup

into the card script.  Then, make a button and put

  on mouseup
    get the script of this card
  end mouseup

into its script.  When you click on the button, everything works normally,
BUT, if you change the button's script to

  on mousedown
    get the script of this card
  end mousedown

HyperCard beeps twice when you click on the button!  Also, on page 502 of
the HyperCard Hnadbook, Danny says you can type "get the script of this
stack" in the message box.  He must have a different version of HyperCard
than I do, as all I get is "can't understand arguments to command get."
 Anyone else get the same result?

Jim Taylor
Microcomputer Support for Curriculum, Brigham Young University
taylorj@byuvax.bitnet