Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!feeder.erje.net!news2.arglkargh.de!news.visyn.net!visyn.net!not-for-mail From: "Mark T. B. Carroll" Newsgroups: comp.lang.postscript Subject: Re: two dimensional arrays Date: Sun, 29 May 2011 18:48:33 -0400 Organization: none Lines: 12 Message-ID: <87oc2lxgvy.fsf@ixod.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: hoshi.visyn.net B5XGpLIUZPWLnaXOQt1oFuySH3igFV4gcMggU2ScHgdo/BJOR9mSwb+o+nLMW/ZI X-Complaints-To: abuse@open-news-network.org NNTP-Posting-Date: Sun, 29 May 2011 22:48:34 +0000 (UTC) X-User-ID: sTopgAitftosLu6M7ss76qD11k3wdwVZZYUpWTOSFrU= Cancel-Lock: sha1:hcCuaQTOnbBFRuNC8tUe9WI+Ook= User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) Xref: x330-a1.tempe.blueboxinc.net comp.lang.postscript:217 dmjcunha writes: > Hi. I don't know much of postscript I would like some help. How can I > create a 2 dimensional array of null elements? How can I put an > element in a 2 dimensional array? And how can I get an element in a 2 > dimensional array? You do it as an array of one-dimensional arrays. One useful trick can be, if an element can't take many different values, an array of strings can work too. Mark