home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / hp / 10387 < prev    next >
Encoding:
Internet Message Format  |  1992-09-14  |  982 b 

  1. Path: sparky!uunet!news.centerline.com!franl
  2. From: franl@centerline.com (Fran Litterio)
  3. Newsgroups: comp.sys.hp
  4. Subject: Re: modify the value of variables in XDB
  5. Date: 14 Sep 92 13:44:06
  6. Organization: CenterLine Software, Inc.
  7. Lines: 16
  8. Message-ID: <FRANL.92Sep14134406@draco.centerline.com>
  9. References: <ghsu.716481890@critical>
  10. NNTP-Posting-Host: 140.239.3.116
  11. In-reply-to: ghsu@critical.nswc.navy.mil's message of 14 Sep 92 14:44:50 GMT
  12.  
  13. ghsu@critical.nswc.navy.mil writes:
  14.  
  15. > The subject says exactly what I want to do.
  16.  
  17. > dbx has
  18. > "assign" to do that.   How is it done for xdb?
  19.  
  20. Use the 'p' (print) command to evaluate an assigment expression:
  21.  
  22.     > p foo = bar + strlen(x.y->z.string) * 5
  23.  
  24. As you can see, you also use the print command to make function calls.
  25. --
  26. franl@centerline.com   || Fran Litterio                               
  27. uunet!centerline!franl || CenterLine Software R&D                     
  28. 617-498-3255           || 10 Fawcett St, Cambridge, MA, USA 02138-1110
  29.