HP Forums
Problem with program conversion? - Printable Version

+- HP Forums (https://archived.hpcalc.org/museumforum)
+-- Forum: HP Museum Forums (https://archived.hpcalc.org/museumforum/forum-1.html)
+--- Forum: Old HP Forum Archives (https://archived.hpcalc.org/museumforum/forum-2.html)
+--- Thread: Problem with program conversion? (/thread-57962.html)



Problem with program conversion? - Iqbal - 06-03-2004

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? - V-PN - 06-04-2004

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? - Iqbal - 06-04-2004

Thanks VPN.