beautypg.com

Section 6: programming basics, The mechanics, Creating a program – HP 15c User Manual

Page 66: Loading a program, Programming basics

background image

66

Section 6

Programming Basics

The next five sections are dedicated to explaining aspects of programming
the HP-15C. Each of these programming sections will first discuss basic
techniques (The Mechanics), then give examples for the implementation of
these techniques (Examples), and lastly discuss finer points of operation in
greater detail (Further Information). Read only as far as you need to support
your use of the HP-15C.

The Mechanics

Creating a Program

Programming the HP-15C is an easy matter, based simply on recording the
keystroke sequence used when calculating manually. (This is called
―keystroke programming‖.) To create a program out of a series of
calculation steps requires two extra manipulations: deciding where and how
to enter your data; and loading and storing the program. In addition,
programs can be instructed to make decisions and perform iterations
through conditional and unconditional branching.

As we step through the fundamentals of programming, we'll rework the
falling object program illustrated in the Problem Solver (page 14).

Loading a Program

Program Mode. Press | ¥ (program/run) to set the calculator to
Program mode (PRGM annunciator on). Functions are stored and not
executed when keys are pressed in Program mode.

Keystrokes

Display

| ¥

000-

Switches to Program mode;
PRGM annunciator and line
number (000) displayed.