O'Reilly logo

DarkBASIC Pro Game Programming, Second Edition by Joshua R. Smith, Jonathan S. Harbour

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

This chapter covered looping, data sequences, and arrays, all of which are helpful for processing large amounts of data such as numbers or strings. There are several looping statements that you learned about: WHILE, DO, REPEAT, and FOR. These looping statements add a tremendous amount of power to a program, quickly automating what might have been a laborious manual process without them. This chapter explained the benefits and uses for data sequences and arrays in DarkBASIC.

You learned how to add items of data to your programs using the DATA and READ commands, including the ability to use data labels to group related data items. You also learned all about arrays and how to use them. Several sample programs graced the pages of this chapter, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required