Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!decwrl!ucbvax!sdcsvax!net1!borton From: borton@net1.ucsd.edu (Chris Borton) Newsgroups: comp.sys.mac.hypercard Subject: Re: rapid index access (was hypercard thoughts) Message-ID: <4232@sdcsvax.UCSD.EDU> Date: Sun, 1-Nov-87 18:00:08 EST Article-I.D.: sdcsvax.4232 Posted: Sun Nov 1 18:00:08 1987 Date-Received: Thu, 5-Nov-87 21:29:50 EST References: <2014@umd5.umd.edu> <4911@oberon.USC.EDU> <2017@umd5.umd.edu> Sender: Unknown@sdcsvax.UCSD.EDU Reply-To: borton@net1.UUCP (Chris Borton) Organization: UCSD Network Operations Group Lines: 27 Keywords: index cards fast In article <2017@umd5.umd.edu> zben@umd5 (Ben Cranston) writes: > Making the button go to the ID of the >first card and search from there seems faster, but I might end up with a >full index-sequential structure, with the index card pointing to all the >"year header" cards, each of those pointing off to 12 "month header" cards. >Lots of work for the setup, which already takes several hours... This is a big version of what I ended up doing for my 'Enhanced Address' stack. I took the Address stack and added a index-card directory, where clicking on a letter goes to the first card beginning with that letter. [I too first did a binary search and gave up (on <50 cards!)] I have 26 'index' cards that I try to keep invisible. My solution has been to kludge the Next and Prev arrows to look at the card they are going to, and if it is an index card then send mouseUp to {Next,Prev} of the next card in that direction. This works fine for smallish stuff. It has the problem, however, that if someone tries to click the arrow with more than 17 index cards between them and the next data card, HC errors with 'Too much recursion' What other solutions to such problems are there? -cbb Chris "Johann" Borton, UC San Diego ...!sdcsvax!net1!borton borton@net1.ucsd.edu "Letztes Jahr in Deutschland, noch ein Jahr hier, en dan naar het Nederland!