Chapter 2
home index glossary

Example of a Programming Statement

Diagram of a programming statement

Variable

Represents

BP Value is arbitrarily set to 1 by the programmer.
A$ Holds value of pregnant or not pregnant. If the client is not pregnant, control skips to the matching END IF and returns to the main program.
SysBP Value of systolic blood pressure. If less than 140, control skips to its matching END IF and the value of BP remains 1. If is it equal to or above 140 then the second condition will be tested.
DiastBP Value of diastolic blood pressure. If the Diastolic BP is below 90 control skips to its matching END IF with value of BP still 1 and exits the procedure. If this variable is equal to or above 90, the value of BP is set to 2 and BP is flagged.

 

Go to the top of the page

Created October 23, 2011

home Glossary index glossary index