Victor Technology V12 User Manual

Page 69

Advertising
background image

V I C T O R T E C H N O L O G Y

69

line is reserved for the GTO 000 instruction. Therefore if the
program ends on the 008 line, start the branch at line 010.

¾

Note: The replaced program line in the original program must be

replicated at the end of the new branch.

¾

Note: The last program line in your new branch must loop back to

the original program directly after the point where you wanted to
insert the additional instructions. For example, if you branch out of
the program in line 004, you must branch back to 005.

Example
Using the prior example for our online business, add a branch that will add 5%
sales tax before adding the $10 shipping and handling charge. Program line
006 will be replaced with a branch.

ENTRIES (RPN)

DISPLAY

b P/R

000,
Sets calculator to program mode

b PRGM

000,
Clears all program lines

ENTER

001, 36

5

002, 5

0

003, 0

%

004, 25

-

-

005, 30

1

006, 1

0

007, 0

+

-

008, 40

.

r

GTO 000

009,43,33,000
Instructs program to return to line 000 after execution.
This is required if a branch is to follow.

Advertising