The Museum of HP Calculators

HP Forum Archive 14

[ Return to Index | Top of Index ]

Problem with program conversion?
Message #1 Posted by Iqbal on 3 June 2004, 9:11 p.m.

I converted all my GX programs to my 49G+. The problem is when the result is displayed, the last prompt also remains on the display. Is there a way to get rid of this last prompt and only have the result displayed?

Check out this example. The program uses Trapezoidal rule to calculate the area.

« 0 0 0  N D L « 0 ¨LIST 'L' STO "Strip Width?" PROMPT 'D' STO "No of Offsets?" PROMPT 'N' STO 1 STD N FOR i "Offset " i + PROMPT L + 'L' STO NEXT 4 FIX L HEAD L TAIL 'L' STO L REVLIST 'L' STO L HEAD + L TAIL IF N 3 SAME THEN HEAD ELSE …LIST END 2 * + 2 / D * 1 FIX "m" + ² + " Area = " SWAP + CLLCD 3 DISP 7 FREEZE 4 FIX » »

When the area is displayed, the last prompt [the 3rd if there are 3 offsets] is also displayed. Only solution is diosplayed in GX

      
Problem with program conversion?
Message #2 Posted by Veli-Pekka Nousiainen on 4 June 2004, 3:18 a.m.,
in response to message #1 by Iqbal

You have no solution if you insist on using PROMPT
since it uses the new header area and thus behaves differently.
Use other input methods or use SysRPL
<< VPN >>
            
Re: Problem with program conversion?
Message #3 Posted by Iqbal on 4 June 2004, 6:18 a.m.,
in response to message #2 by Veli-Pekka Nousiainen

Thanks VPN.


[ Return to Index | Top of Index ]

Go back to the main exhibit hall