home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / unix / question / 14938 < prev    next >
Encoding:
Internet Message Format  |  1992-12-23  |  920 b 

  1. Path: sparky!uunet!news.larc.nasa.gov!hops.larc.nasa.gov!beaver
  2. From: beaver@hops.larc.nasa.gov (Guy Beaver)
  3. Newsgroups: comp.unix.questions
  4. Subject: dbx question
  5. Date: 23 Dec 1992 22:56:18 GMT
  6. Organization: NASA Langley Research Center
  7. Lines: 20
  8. Distribution: world
  9. Message-ID: <1haqqiINNgpa@rave.larc.nasa.gov>
  10. NNTP-Posting-Host: hops.larc.nasa.gov
  11.  
  12. I hope this is the appropriate place for this question...
  13.  
  14. When using dbx, I would like to print a range of array
  15. members, for example, if the array is called X(I),
  16. I would like to see X(346) through X(356).  I have
  17. tried the following:
  18.  
  19. (dbx) p X(346:356)
  20. (dbx) p X(346-356)
  21. (dbx) p X(346,356)..., etc.
  22.  
  23. Any help here is greatly appreciated.
  24.  
  25.  
  26. -- 
  27.  Guy M. Beaver                          | beaver@hops.larc.nasa.gov
  28.  G & A Technical Software, Inc. (GATS)  | phone: (804) 864-5763
  29.  28 Research Drive                      | 
  30.  Hampton, VA  23666                     | 
  31.  
  32.