Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!rice!sun-spots-request From: chuck@morgan.com (Chuck Ocheret) Newsgroups: comp.sys.sun Subject: dbx array printing? Message-ID: <8902141958.AA01131@terminus.Morgan.COM> Date: 22 Feb 89 04:34:48 GMT Sender: usenet@rice.edu Organization: Sun-Spots Lines: 17 Approved: Sun-Spots@rice.edu Original-Date: Tue, 14 Feb 89 14:58:08 EST X-Sun-Spots-Digest: Volume 7, Issue 163, message 2 of 18 Attention dbx gurus. What is the dbx syntax (if there is one) to display a range of array elements? VMS DEBUG lets you specify these ranges like X[10..32]. I haven't been able to find this in a manual so I have written routines for basic types which I must link in with the programs I am debugging. For example, to look at elements 10 to 32 from an integer array I type the command: (dbx) call pintarray(array, 10, 32) There simply must be a better way. Chuck Ocheret Morgan Stanley & Co., Inc. 1251 Avenue of the Americas New York, N.Y. 10020 (212)-703-4474 chuck@morgan.com