[comp.sys.mac.hypercard] HyperTalk questions

jdevoto@Apple.COM (Jeanne A. E. DeVoto) (06/27/90)

In article <11821@leadsv.UUCP> you write:
>1.     How do I access the serial ports from within an object script?  If
>       you are going to suggest the "XYZZY Stack" from someplace, please
>       let me know how to obtain it.  I DO NOT have access to anything but
>       these newsgroups and mail.  

APDA, the Apple Programmers and Developers Association, offers a serial
port toolkit for HyperCard with a set of serial XCMDs and example stacks.
It is part # M7015. APDA can be reached at 800-282-2732, or
    APDA
    Apple Computer Inc.
    20525 Mariani Ave, MS 33-G
    Cupertino, CA 95014-6299
The toolkit is $20. (There are some other serial Xthings floating around,
but this is probably the easiest for you to get hold of.)

>2.     I have a single stack, with multiple backgrounds, and multiple
>       cards per background.  I 'thumb' my way to the LAST card for a
>       given background (not necessarily the last card in the stack),
>       and 'Delete Card'.  HyperCard creates a NEW background (I checked
>       the id), gives it the same name and script as the previous
>       background, but does not propigate the Field and Button
>       definitions.  Then, it creates a new card (I checked the id), and
>       sends an openCard message.  This message is captured by the
>       background script, which promptly fails because none of the fields
>       and buttons are defined.  This only happens on the LAST card of
>       a background.  Immediately after the 'doMenu Delete', I have a
>       'go to first card of background id savedId', but the script
>       bombs before I get there.  WHAT DO I DO???

I'm not sure I understand this. HyperCard creates a new card when you try
to delete a card? You do realize that when you delete or cut a card, you'll
go to the next card in the stack; could this possibly be your problem?
-- 
========= jeanne a. e. devoto ========================================
 jdevoto@apple.com     |  You may not distribute this article under a
 jdevoto@well.sf.ca.us |  compilation copyright without my permission.
______________________________________________________________________
 Apple Computer and I are not authorized      |        CI$: 72411,165
 to speak for each other.                     |