Re: TIB: Storing an expr w/o evaluating it (for TI-92)


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

Re: TIB: Storing an expr w/o evaluating it (for TI-92)




A temp folder works fine, but a local var is better, since you don't have to
worry about it when you run your program.  The TI-OS takes care of it and
deletes it after the program stops running (even on an interrupt through the
ON break).

-Miles Raymond      EML: m_rayman@bigfoot.com
ICQ: 13217756       IRC: Killer2        AIM: kilier2
http://www.bigfoot.com/~m_rayman

----- Original Message -----
From: "Jeremie Knusel" <elendur@freesurf.ch>
To: <ti-basic@lists.ticalc.org>
Sent: Wednesday, January 05, 2000 6:08 PM
Subject: Re: TIB: Storing an expr w/o evaluating it (for TI-92)

> Lol! we posted our messages at the same time!
> The problem is that I don't know the number of variables the user could
use
> in the expr he enters, I don't know which variables he'll use, if he will.
> It seems that the temp folder is the only solution, doesn't it?
>
> ----- Original Message -----
> From: Miles Raymond <m_rayman@bigfoot.com>
> To: <ti-basic@lists.ticalc.org>
> Sent: Thursday, January 06, 2000 12:14 AM
> Subject: Re: TIB: Storing an expr w/o evaluating it (for TI-92)
>
> > Yes, the best way to do that is maybe to copy the x var into a local var
> > before deleting x.  Then restore the value to x before your program
exits.
> >
> > -Miles Raymond      EML: m_rayman@bigfoot.com
> > ICQ: 13217756       IRC: Killer2        AIM: kilier2
> > http://www.bigfoot.com/~m_rayman
> >
> > ----- Original Message -----
> > From: "The Godfather" <HOPPEAL@fs1.usa.k12.mi.us>
> > To: <ti-basic@lists.ticalc.org>
> > Sent: Wednesday, January 05, 2000 1:57 PM
> > Subject: Re: TIB: Storing an expr w/o evaluating it (for TI-92)
> >
> > > On 5 Jan 00, at 17:55, Jeremie Knusel wrote:
> > >
> > > > What I want to do is precisely to use a program like the one you
> > proposed,
> > > > but I want that newvar=x+3 even if x already exist (in example if
x=2,
> I
> > > > don't want the calc to use this info when doing expr("x+3"))
> > >
> > > Try deleting the x var before you do that.  It's off the wall, but it
> > > could work.
> > >
> > > They say one has to be good in this business.  Well I'm better.
> > >
> > > -The Godfather



References: