Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!hao!scdpyr!faulkner From: faulkner@scdpyr.UUCP (Bill Faulkner) Newsgroups: comp.sys.mac Subject: Re: HyperCard arrays Message-ID: <191@scdpyr.UUCP> Date: Mon, 26-Oct-87 10:09:50 EST Article-I.D.: scdpyr.191 Posted: Mon Oct 26 10:09:50 1987 Date-Received: Thu, 29-Oct-87 23:06:04 EST References: <173@stech.UUCP> Organization: Natl Ctr Atmospheric Research, Boulder, CO Lines: 24 In article <173@stech.UUCP>, sysop@stech.UUCP (Jan Harrington) writes: > HyperTalk doesn't directly support arrays. Is there some way to get the > same effect (by using variables names like VName & k, where k contains > a number that changes?)? Has anyone come across this yet and found a > good solution? One thing that would work, but isn't really elegant is to create an invisable field and use the various lines as elements of the array. The refernce to this would be similar to: add 23 to line k of field "Array" You could even extend this to two dimensions by using the word of a line, such as put 5 into word i of line j of field "2-D Array" Does anybody know of a better solution? -- 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