# Programming the 6502, Fourth Edition — source transcripts, page 2

[Canonical transcript page](https://www.vintageapple.net/transcripts/media/va-programming-the-6502-1983-11dfd6/2)

## Transcribed source material

Machine transcriptions and image descriptions; uncertain copy may be marked [illegible]. Verify against the linked originals. Historical rights remain with the original owners.

These are transcribed excerpts, not the full publications. Open the originals for remaining pages.

### PDF page 12

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-programming-the-6502-1983-11dfd6/2#scan-9b1e151c5f672786dcc7f8de1117f935ec75a78ec70d1aa6c4b62ee80c6ce9c5)

Transcribed text:

BASIC   CONCEPTS
X is true, then take action A, else B. Instead of presenting a formal
definition of flowcharts at this point, we will introduce and discuss
flowcharts later on in the book when we present programs.
Flowcharting is a highly recommended intermediate step   be-
tween the algorithm specification and the actual coding of the   solu-
tion. Remarkably, it has been observed that perhaps   10%   of the
programming   population   can   write   a   program   successfully   with-
out having to flowchart.   Unfortunately,   it has also been observed
that   900'/o   of the population believes it belongs to this   100/o   !   The
result: 80% of these programs, on the average, will fail the first
time they are run on a computer. (These percentages are naturally
not meant to be accurate.) In short, most novice programmers sel-
dom see the necessity of drawing a flowchart. This usually results
in ''unclean'' or erroneous programs. They must then spend a long
time   testing   and   correcting   their   program   (this   is   called   the
START
READ TEMPERATURE   SETIING   "T"
ON   THERMOSTAT   BOX
2   READ   ACTUAL   ROOM   TEMPERATURE   "R   •
FROM   THERMOMITTR   OR   OTHER   SENSOR
NO
(ROOM
TOO   COLD)
HEATERON   4
(OPTIONAL   DELAY)
YES
(ROOM
TOO   HOT!)
5   HEATEROFF
(OPTIONAL   DELAY)
Fig.   1-1: A   Flowchart   for Keeping Room Temperature Constant
9

Reading notes: OCR spacing and hyphenation irregular in the body text, e.g. 'be-tween' and 'sel-dom' may be line-break artifacts. Figure 1-1 flowchart labels are fragmented and reading order of the flowchart steps is uncertain. Percentage figures in the body text contain possible OCR errors (e.g. '900'/o' and '100/o').

Languages: English

[Original PDF page 12](https://www.vintageapple.net/files/678472b7a8b848339d7ce1fc80c79eacc8e051adec0280028c0439f80d14be5f/Programming_the_6502_1983.pdf#page=12)

[Previous transcribed scans](https://www.vintageapple.net/transcripts/media/va-programming-the-6502-1983-11dfd6/1.md)
