August 2010
Intermediate to advanced
288 pages
13h 21m
English
A file is a collection of information stored on a computer (which in our case is the NXT). In this chapter, you’ll learn how to use the File Access block to create and use files in your programs. You’ll make some changes to the RedOrBlueCount program to save the number of objects in a data file and then restore the values the next time the program starts. You’ll also learn about managing your NXT’s memory, including how to delete files or transfer them between the NXT and your computer.
Your computer uses files to store music, pictures, programs, word processing documents, and numerous other kinds of information. The NXT also uses files to store many different types of information, such as your programs, the images ...