From: wpoppe on

Can anyone tell me why my HP 35S does not show that J=P at the end of
this program?
LBL C
CF 10
INPUT P
INPUT J
STOP
RCL P
RCL J
STOP
J=P
STOP
RCL P
RCL J
STOP
RTN
From: oestert on
On Jan 28, 9:07 am, wpo...(a)cox.net wrote:
> Can anyone tell me why my HP 35S does not show that J=P at the end of
> this program?
> LBL C
> CF 10
> INPUT P
> INPUT J
> STOP
> RCL P
> RCL J
> STOP
> J=P
> STOP
> RCL P
> RCL J
> STOP
> RTN


The step "J=P" does not work in an RPN program, even if you enter it
as an EQN ;-). You could have done it like this

INPUT P
INPUT J /*not required
RCL P
STO J /*this way you store P in J
RCL J
STOP
RTN
From: reth on
On Jan 28, 11:01 pm, oest...(a)gmx.de wrote:
> On Jan 28, 9:07 am, wpo...(a)cox.net wrote:
>
>
>
> > Can anyone tell me why my HP 35S does not show that J=P at the end of
> > this program?
> > LBL C
> > CF 10
> > INPUT P
> > INPUT J
> > STOP
> > RCL P
> > RCL J
> > STOP
> > J=P
> > STOP
> > RCL P
> > RCL J
> > STOP
> > RTN
>
> The step "J=P" does not work in an RPN program, even if you enter it
> as an EQN ;-). You could have done it like this
>
> INPUT P
> INPUT J /*not required
> RCL P
> STO J /*this way you store P in J
> RCL J
> STOP
> RTN

what is the second-last instruction STOP required for? ;)
From: oestert on
On Jan 28, 1:34 pm, reth <r...(a)abv.bg> wrote:
> On Jan 28, 11:01 pm, oest...(a)gmx.de wrote:
>
>
>
> > On Jan 28, 9:07 am, wpo...(a)cox.net wrote:
>
> > > Can anyone tell me why my HP 35S does not show that J=P at the end of
> > > this program?
> > > LBL C
> > > CF 10
> > > INPUT P
> > > INPUT J
> > > STOP
> > > RCL P
> > > RCL J
> > > STOP
> > > J=P
> > > STOP
> > > RCL P
> > > RCL J
> > > STOP
> > > RTN
>
> > The step "J=P" does not work in an RPN program, even if you enter it
> > as an EQN ;-). You could have done it like this
>
> > INPUT P
> > INPUT J /*not required
> > RCL P
> > STO J /*this way you store P in J
> > RCL J
> > STOP
> > RTN
>
> what is the second-last instruction STOP required for? ;)


It's not required - it's just a leftover from the original program
that was not deleted...