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