🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #19838

Re: Hypercard question

#19838
From: dan kerpelman
Date: Mon, 05 Oct 1987 12:32
42 lines
2501 bytes
In article <29942@sun.uucp> chuq%plaid@Sun.COM (Chuq Von Rospach) writes:
>I'll bet this will turn out to be a real simple question, but here goes. I'm
>starting to work with Hypercard, and I'm trying to put together a pretty
>simple application, but I'm not sure how to build a linked list of cards
>attached to a primary card.
>
>The basic design is this. I've got a stack of cards. For each card in the
>stack, I may have zero or more cards that I want to attach to it. The
>primary card should have a count of the number of cards attached to it as
>well as a way of looking at each of the cards.
>
>Any suggestions? I'm sure this is pretty trivial, but I haven't had a lot of
>time to hack hypercard yet.
>
>chuq
>

It sounds as if you need a stack of stacks, not a stack of cards.  In other
words, you could have a bunch of stacks that belong to a "superstack".  The
background of the superstack should define forward and backward buttons that
allow navigating among the primary cards of each aggregate stack.  The primary
card of each aggregate stack should define additional buttons enabling browsing
through its cards.  You could even put in a fast browse button.  Copy it from
one of the provided stacks if you don't know advanced HyperTalk.

To know how many cards are in a stack, you can define a button in its primary
card that performs a HyperTalk "domenu stack info".  This will bring up the
stack information menu.

Try browsing the provided stacks.  It's likely you'll find a similar
application.  You can copy this and use it as a template for developing your
own.  Have fun.





 
----------------------------------------------------------------------------
Dan Kerpelman                      ARPAnet  :  kerpelman@ge-crd.arpa
GE Corporate R&D                   GE DECnet:  ctsvax::kerpelman
Schenectady, NY, USA               telephone:  (518) 387-5086
Technical Details
Message-ID: <7522@steinmetz.steinmetz.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!steinmetz!macbeth!kerpelma
References: <29942@sun.uucp>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!steinmetz!macbeth!kerpelma
From: kerpelma@macbeth.steinmetz (dan kerpelman)
Newsgroups: comp.sys.mac
Subject: Re: Hypercard question
Message-ID: <7522@steinmetz.steinmetz.UUCP>
Date: Mon, 5-Oct-87 08:32:58 EDT
Article-I.D.: steinmet.7522
Posted: Mon Oct  5 08:32:58 1987
Date-Received: Thu, 8-Oct-87 05:04:46 EDT
References: <29942@sun.uucp>
Sender: root@steinmetz.steinmetz.UUCP
Reply-To: kerpelma@macbeth.UUCP (dan kerpelman)
Organization: General Electric CRD, Schenectady, NY
Lines: 42