Abstract
In our last chapter, we learned how to enter data into a program by placing the READ/DATA statement within a loop. We also learned how to control the loop through the use of counters and the IF-THEN statement. The FOR-NEXT loop is another method that will enable you to form loops and assign values to variables with fewer statements and greater control than the previous method. This is because the FOR and NEXT statements allow for a more concise definition of a loop.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 1984 Birkhäuser Boston, Inc.
About this chapter
Cite this chapter
Guenette, R., Vogel, J. (1984). The FOR-NEXT Loop. In: Easy Programming with the TI-99/4A. Birkhäuser Boston. https://doi.org/10.1007/978-1-4615-9813-8_11
Download citation
DOI: https://doi.org/10.1007/978-1-4615-9813-8_11
Publisher Name: Birkhäuser Boston
Print ISBN: 978-1-4615-9815-2
Online ISBN: 978-1-4615-9813-8
eBook Packages: Springer Book Archive