Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!bbn!rochester!cornell!uw-beaver!mit-eddie!rutgers!sunybcs!boulder!hao!scdpyr!faulkner From: faulkner@scdpyr.UUCP (Bill Faulkner) Newsgroups: comp.sys.mac Subject: Re: another hypercard questions: card number Message-ID: <177@scdpyr.UUCP> Date: Tue, 6-Oct-87 12:40:21 EDT Article-I.D.: scdpyr.177 Posted: Tue Oct 6 12:40:21 1987 Date-Received: Sat, 10-Oct-87 18:39:58 EDT References: <29981@sun.uucp> Organization: Natl Ctr Atmospheric Research, Boulder, CO Lines: 28 Summary: how to get current card number In article <29981@sun.uucp>, chuq%plaid@Sun.COM (Chuq Von Rospach) writes: > [Anyone for comp.sys.mac.hypercard? or comp.lang.hypercard? [Sure, sounds like a good time to me] > Here's another one that should be a no-brainer, but the information doesn't > seem to be in the Goodman book. I want to have a line on one of my cards > that says "card # of ". I can find the second value, the total > number of cards. I can't find any documentation for getting what card number > this is. Goodman simply says "since cards can be re-arranged, use the card > id and not that card number" -- well, I WANT that card number. Well, I just found out by using a little reasoning. I know that it at least works in the message box (I just tried it). Anyway the command to get the current card number is: put the number of this card into x where x is the container that you want the card number in. Boy, don't you love it when the right answer is also the obvious one. -- Bill Faulkner * NCAR (Nat'l Center for Atmospheric Research) PO Box 3000 * Boulder, CO 80307-3000 * 303-497-1259 UUCP: faulkner@scdpyr.UUCP or ..!hao!scdpyr!faulkner INTERNET: faulkner@scdpyr.ucar.edu ARPA: faulkner%ncar@csnet-relay.arpa