Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!sdd.hp.com!hplabs!hpfcso!rrd From: rrd@hpfcso.FC.HP.COM (Ray Depew) Newsgroups: comp.sys.handhelds Subject: Re: Questions Regarding Lists & The Solver Message-ID: <7360075@hpfcso.FC.HP.COM> Date: 21 Feb 91 21:08:12 GMT References: <1991Feb19.080133.24204@bronze.ucs.indiana.edu> Organization: Hewlett-Packard, Fort Collins, CO, USA Lines: 68 In comp.sys.handhelds.and.hp.and.everybody.else, kenr@peabody.iusb.indiana.edu (Ken Rawlings) asks: >I have a few questions that have been bugging me for a while: >#1: It is possible to specify a custom menu in the solver(and the MES for >that matter). However, I can not seem to be able to get "NXEQ" to work as >a menu option. I agree with you; I think you're stuck with writing your own version of "NXEQ" and putting it in your custom menu. Fortunately, it's easy to write, quick, and small. Or, you might consider the idea given below. >... Also, I cannot seem to make >more that one custom menu per EQ. What about making a custom menu for each equation named in your .EQ list? Here's an example: { 'A+B=C' { B } } store in ABC.EQ { 'D+E=F' { D } } store in DEF.EQ { ABC.EQ DEF.EQ } store in EQ Now, when you enter the Solver, you see: ABC.EQ { 'A+B=C' { B... 4: 3: 2: 1: B EXPR= __ __ __ NXEQ <----( the HP one!) If you press NXEQ, you see: DEF.EQ { 'D+E=F' { D... 4: 3: 2: 1: D EXPR= __ __ __ NXEQ >However, if I try to put more that one custom menu _anywhere_ in the >EQ list, I get an error message. That's to be expected; the 48 sees a custom menu where it's expecting an equation. See above for a possible workaround. >#2: What is the easiest way to subtract an atom from a list. i.e. > > { FOO BAR NETA } > - { NETA } > ------------------ > = { FOO BAR} > [ vi deleted this line for me, and I didn't hit "u" fast enough...] >...common thing to do that it must already be built in somewhere. It's in Jim Donnelly's Toolkit, if you have access to it. I highly recommend it. ---------- Regards Ray Depew IC's by Bill and Dave rrd@hpfitst1.hp.com