Re: TIB: Real number to string
[Prev][Next][Index][Thread]
Re: TIB: Real number to string
@#$^&* Microsoft!
I was just seconds away from sending you the code when Internet Explorer
crashed. I don't have time to rewrite it now, but you can find it in my
83-BASIC Library at http://www.ticalc.org/pub/83/basic/programs/lib.zip
Look for a subroutine called STR. Obviously it won't run "as is" on an 86,
but it shouldn't be too hard to modify.
>From: Nathan Grigg <nathangrigg@juno.com>
>Reply-To: ti-basic@lists.ticalc.org
>To: ti-basic@lists.ticalc.org
>Subject: Re: TIB: Real number to string
>Date: Wed, 13 Sep 2000 21:12:03 -0600
>
>
> > This does NOT work (on an 86):
> >
> > Prompt x
> > y99=x
> > Eq>St(y99,Y)
> > Disp Y ~This displays "x", not the value of x, and is the main
> > problem i am
> > working with.
>
>A while ago, I spent a long time trying to figure this type of thing out,
>and as far as I know there is no way (on the 86) to convert a number to a
>string. In my opinion, that sucks, but oh well. Usually when you want a
>number as a string, you want to fill in a sentence or something (i.e.
>there were x apples). There are a couple of ways to do this. You can
>use Disp, but that puts it on lots of lines, or you can use a bunch of
>Outpt's (but that takes a lot of work)
>
>The best way to do it is using variable-width font on the graph screen,
>because there is no limit to the number of arguments for the Text(
>command. A program would look something like this:
>:Prompt x
>:Text(2,13,"There were ",x," apples")
>
>Good Luck,
> Nathan
>
>
>If you really want string commands, try the asm program asapXcmd. This
>installs extra basic commands on your calculator. The only problem:
>anyone without Xcmd installed can't run your program.
>
>
>________________________________________________________________
>YOU'RE PAYING TOO MUCH FOR THE INTERNET!
>Juno now offers FREE Internet Access!
>Try it today - there's no risk! For your FREE software, visit:
>http://dl.www.juno.com/get/tagj.
>
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Share information about yourself, create your own public profile at
http://profiles.msn.com.
Follow-Ups: