Re: TIB: Back to TI-BASICs


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

Re: TIB: Back to TI-BASICs




I usually prefer to put all of the code into one program.  It makes it
easier for me to keep track of that way.  The only problems with this are
that it slows the calc down and that if you have to change a line in one
of the subs you have to detokenize the entire program.  I also like to
keep my memory clean, and having subroutines floating around is
disorganized/wasteful/dangerous for me-Disorganized because I want to
have my memory free of anything not being used, and I don't know if
they're used; Wasteful because sometimes you don't know which program
they're for so you might never bother to delete them; and dangerous
because I have often deleted essential parts of programs.  An easy
solution would be to do something like in Spacefight for the TI-82 (same
process would work for the '83) where subroutines check for the Theta
variable, and if it equals 0, it displays an error message.  If you were
using an 85/86, you could use a vector/list system to check for
variables-I wrote a program to check for the existance of a variable on
the 85/86 about a month ago.

-Peter

Tavis Segura wrote:

> I would like to ask each of you about your personal style of writing
> programs.  If you had a choice to do both, would you prefer writing
> everything in a single program, or have several programs for your
> subroutines?  Which do you think game players would prefer?
>
> Which is more important, the program's size, its speed, how easy the
> program is to read, or how it affects the rest of the calc?  I'd like
> your opinion about this and what you think makes for 'good' TI-BASIC
> programming.
>
> Thank you for your time.
> Tavis
>
> ______________________________________________________
> Get Your Private, Free Email at http://www.hotmail.com





Follow-Ups: References: