ARRAYS

Autor: Wade Ellis, Ed Lodi
Rok vydání: 1988
Předmět:
Popis: Publisher Summary This chapter discusses arrays. Arrays store collections of data under one variable name. They allow for large blocks of data to be thought of as a single structured object. FOR/NEXT loops can be used to access and manipulate such information. To enter information into an array, the READ/DATA statements are used. Structuring data in arrays and other data structures is a fundamental problem-solving tool and programming technique. Turbo BASIC automatically saves enough space for ten elements in a one-dimensional array. One-dimensional arrays in which more than ten elements are stored must appear in a DIM statement. However, programs are easier to follow if all arrays in a program are dimensioned. Also array information can be between a subroutine and its calling routine using parameter lists. This allows one to pass entire arrays between a subroutine and its calling routine.
Databáze: OpenAIRE