Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!ub!uhura.cc.rochester.edu!rochester!pt.cs.cmu.edu!o.gp.cs.cmu.edu!andrew.cmu.edu!mg2x+ From: mg2x+@andrew.cmu.edu (Michael Andrew Gelman) Newsgroups: comp.sys.mac.hypercard Subject: Re: arrays/subscripts allowed? Message-ID: Date: 17 Mar 91 20:40:59 GMT References: <1991Mar16.102643.2883@desire.wright.edu> Organization: Class of '92, Carnegie Mellon, Pittsburgh, PA Lines: 19 In-Reply-To: <1991Mar16.102643.2883@desire.wright.edu> > Excerpts from netnews.comp.sys.mac.hypercard: 16-Mar-91 > arrays/subscripts allowed? jvance@desire.wright.edu (658) > Does hypercard admit anything like arrays, or variables with one or > more subscripts, as in x(5), y(23,17), etc? Not as such, but you can fake it with chunking. So that: Array(4) --> word 4 of Array Or Array(2,5) --> word 5 of line 2 of Array (If there is anything cleaner, I don't know about it. I'd be interested to hear.) Yours Chunkily, Michael A. Gelman (mg2x@andrew.cmu.edu) Student Programmer/Consultant -- Faculty Software Development Lab Carnegie Mellon University, Pittsburgh, PA