Re: Printing on the same line


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

Re: Printing on the same line



I don't know if this is possible with the TI-86 (my 83 can do it, but not my
85), but the Text( function might do what you need. I believe the first to
arguments are the vertical and horizontal pixels to begin at, and then it
takes an unlimited number of arguments, both numerical and string, like
this: Text(8,32,A,"x^",C-D,"+",B,"x^",E)
The output would be something like: 3x^5+17x^2
Since this displays on the graph screen, remember to turn off the axes and
functions.

--
Rob Lion            bnrnl@ix.netcom.com
M-A's Dez III          rob.lion@sun.com


Kasper Vibe Grevsen <"remove"kaspervg@post6.tele.dk> wrote in message
<70j29u$2dsu$1@news-inn.inet.tele.dk>...
>>Can i have the T-86 show something and have the results on the same line.
>>
>>ex:Disp "Enter Length"
>>Promt L
>
>just use Input "Enter Length ", L
>
>For some reason it might be smart to use string e.g. "Area="+"25" gives
>Area=25. In this simple case it might however not be worth it.
>Input "Enter Length ",L
>Input "Enter Width ",W
>A=L*W
>Eq>St(A,B)   <--- it gives the string B="L*W", but how do I get the value
>B="25"
>
>It would be very nice to have a program like
>
>Input "Coeficients {a,b,c} ", E
>A=E(1): B=E(2): C=E(3)
>Disp "Equation y="+"A"+"x^2+"+"B"+"x"+"C"+"has the roots... and so on.
>
>should display "Equation y=3x^2+2x+1" when E={3,2,1}
>
>No, not really this, but I need it before I will make a polynomial
>integrate/derive program - I don't like outputs like {3,2,1}'={6,2} - it is
>too hard to understand!
>
>Another thing: Is it possible to have the calc pick out the constants from
a
>string like "y=3x^2+3x+1" - thought about the idea of entering constants
>with fixed precision; "y=003x^2+003x+001" and use len and sub, but it is
not
>beautiful:-)
>
>Kasper
>
>


References: