CHAPTER
Advanced
BASIC
Programming
Although
the previous chapter covered most
of
the inner workings of
VIC BASIC, you will find
that
there
is
much more to be learned about
programming. Whereas Chapter 3 covered the language itself, this chapter
and those that follow
will
provide programming techniques and hints that
will help you get the most out of your VIC.
Because this chapter concerns itself with more advanced programming,
program examples and explanations will be longer. You will probably want
to enter and run each example in order to better understand the concepts
being discussed.
Many
of
the program examples covered in this chapter are designed for
use in programs you write yourself. Some are written as subroutines, and
others can be turned into subroutines with minor changes.
PROGRAMMING
WITH
STRINGS
A string can do much more
than
simply contain data that cannot be
expressed in numeric form. String operations and functions
give
you the
ability to change and manipulate data.
117