🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #19816

Re: Hypercard question

#19816
From: Grobbins
Date: Mon, 05 Oct 1987 06:41
28 lines
1909 bytes
In article <29942@sun.uucp> chuq%plaid@Sun.COM (Chuq Von Rospach) writes:
>..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.

It sounds like Chuq could use a field in each card or background with 
the first line holding the number of linked cards and the names or 
id numbers of the linked cards in the following lines of the field,
but this brings up a problem that I've been having:

I'm trying to go to cards by a name composed of a string constant
and a variable number, as in

  go to card "Sheetnum"&snum    -- and variants, incl. putting "x"&y in parens

but Hypercard usually fails to go to the proper, or any, card.
This occurs only (or primarily) in scripts; if I execute the same
line in the message window, Hypercard takes me to the proper card
without complaining.  Have I overlooked some requirement of the
go command, or can anyone suggest some other likely oversight on my 
part?


Grobbins              cs162fed@sdcc18.ucsd.edu
                      ..sdcsvax!sdcc18!cs162fed
Technical Details
Message-ID: <774@sdcc18.ucsd.EDU>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!rutgers!sri-spam!mordor!lll-tis!ames!sdcsvax!sdcc6!sdcc18!cs162fed
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!husc6!rutgers!sri-spam!mordor!lll-tis!ames!sdcsvax!sdcc6!sdcc18!cs162fed
From: cs162fed@sdcc18.ucsd.EDU (Grobbins)
Newsgroups: comp.sys.mac
Subject: Re: Hypercard question
Message-ID: <774@sdcc18.ucsd.EDU>
Date: Mon, 5-Oct-87 02:41:27 EDT
Article-I.D.: sdcc18.774
Posted: Mon Oct  5 02:41:27 1987
Date-Received: Thu, 8-Oct-87 01:28:10 EDT
References: <29942@sun.uucp>
Reply-To: cs162fed@sdcc18.ucsd.edu.UUCP (Grobbins)
Organization: UCSD
Lines: 28
Summary: problem with HC go to card command