Sponsor FloSync Free digital signage & video wall software for Mac and Windows Download Free

YAHCB (Yet Another HyperCard Bug)

Info-Mac discussion from 1984 - 2002.
Locked
User avatar
Info-Mac
Administrator
Posts: 13716
Joined: December 21st, 1988, 11:00 am

YAHCB (Yet Another HyperCard Bug)

Post by Info-Mac »

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: [email protected]
Newsgroups: comp.sys.mac.hypercard
Subject: YAHCB (Yet Another HyperCard Bug)
Message-ID:
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
[email protected]
Locked