Skip to main content

Part of the book series: Basic Books in Electronics ((BBE))

  • 16 Accesses

Abstract

This activity is about the use of lists of numbers held in the computer’s memory. A list is referred to by any valid variable name, and any item held in that list is located by a number in brackets after that variable name. For example, a list could be called by the name K, and K(7) would refer to the seventh item in that list. Every list has to be DIMensioned so that storage space can be reserved for it in RAM. Try the program listed in activity 11.1. The DIM statement reserves the number of locations to be allocated to the list specified by the number in brackets after the variable name. In this case the list A is to hold ten separate numbers referred to as A(1), A(2)…A(10).

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Author information

Authors and Affiliations

Authors

Copyright information

© 1981 P. E. Gosling

About this chapter

Cite this chapter

Gosling, P.E. (1981). Activity 11. In: Program Your Microcomputer in BASIC. Basic Books in Electronics. Palgrave, London. https://doi.org/10.1007/978-1-349-05389-6_15

Download citation

  • DOI: https://doi.org/10.1007/978-1-349-05389-6_15

  • Publisher Name: Palgrave, London

  • Print ISBN: 978-1-349-05391-9

  • Online ISBN: 978-1-349-05389-6

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics