Re: Riemann 85/83 translation


[Prev][Next][Index][Thread]

Re: Riemann 85/83 translation



You really did just copy it wrong.  Substitute Str1 for Y, and Y1 for y.
I've made the corrections in the quote below, and I've added note to the
original code for your reference.

>        Hi all!  I recently took on the task of porting a very nice riemann
>sum program from the 85 to the 83.  The thing is, I have no access to an 85
>manual, and so I'm not sure how it treats string syntax, etc...  Here's a
>clip of the 85 prog:
>
>InpSt "y=",Y        *Displays y= and inputs the string Y
>St>Eq(Y,y)          *Converts the string Y into an equation y
>(B-A)/N -> H
>"y="+Y -> Y         *Adds y= to the front of the string Y so that later
                      you can say Disp Y and it will print for example
                      y=x^3 instead of x^3
>
>...and here's what I have done to the 83 version:
>
>Input "Y=",Str1
>String>Equ(Str1,Y1)
>(B-A)/N -> H
>"Y="+Str1 -> Str1