Re: TIB: Displaying a sequence


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

Re: TIB: Displaying a sequence




for this particular problem, I would use the method that used an
output for each var/string, but if you need more than 2 or 3 spaces
for the result, you could just print a string like "AXC=BYD" at the
top, and then use "Outpt" to display a line for each value so your
display would look like this, just a sugestion...:

AXC=BYD
A=23
C=45
B=876
D=7

Haven't used the 86 in a while, but is there a *simple* way to convert
the value of a variable to a string? I mean besides putting the var
into a list, getting and equation from that, converting it to a string
and the removing the "y1=" part. Just out of curiosity... I've never
actually neede to do it, but I'm wondering...

Philipp Keller

----- Original Message -----
From: The Garth Johnson <gbjohnson@yahoo.com>
To: <ti-basic@lists.ticalc.org>
Sent: January 7, 1999 16:27
Subject: Re: TIB: Displaying a sequence


>
>conert the numbers to strings then use the + command to make them all
>display on one line.
>like this:
>:Disp A+"X"+n+"="+B+"Y"+p
>where n=A(-Q)
>and   p=B(-R)
>
>
>---Ryan Kabir <rkabir@usa.net> wrote:
>>
>>
>> Hi, does anyone know how I could display a "sequence" such as the
>following, > in a continuous line?  If I try to display the
>"sequence", my calculator > (86) displays each item on a new line.
>>
>> Here is what I am trying to Display:
>>
>> :Disp A,"X",A(-Q),"=",B,"Y",B(-R)
>>
>> If A is 1, B is 2, Q is 3, and R is 4, then this is what I would
>like it to > display in a single line, reading left to right  (memory
>is not a concern):
>>
>> 1 X -3 = 2 Y -8
>>
>> Any help would be greatly appreciated
>>
>> Ryan
>>
>>
>
>==
>
>The Garth Johnson
>
>Visit my website!  http://www.bigfoot.com/~garthjohnson
>                "Now with jokes for your mental enjoyment!"
>_________________________________________________________
>DO YOU YAHOO!?
>Get your free @yahoo.com address at http://mail.yahoo.com
>