Skip to main content

Bug∼hunting, or why my programs never work first time

  • Chapter
Program Your Microcomputer in BASIC

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

  • 16 Accesses

Abstract

It is almost a law of nature that no program of more than four lines ever works first time. The reasons for this are manifold but they can be put down in many cases, to very simple errors of typing, or to the use of the BASIC language itself. Errors in computer programs are usually called bugs, and the various ways of debugging a program form the basis of this chapter. An attempt is made to itemise the various types of error, but it is often a combination of several of these which causes a program to fail.

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). Bug∼hunting, or why my programs never work first time. In: Program Your Microcomputer in BASIC. Basic Books in Electronics. Palgrave, London. https://doi.org/10.1007/978-1-349-05389-6_22

Download citation

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

  • 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