and line Y08 calls a different subroutine to compute xˆ after i has been increased by 6:

&

& !- L & %1L2

If i hold:Then XEQ(i) calls:

 

 

To:

 

 

 

 

 

1

LBL A

Compute

ˆ

for straight–line

y

 

 

model.

ˆ

 

2

LBL B

Compute

for logarithmic

y

 

 

model.

ˆ

 

 

 

 

3

LBL C

Compute

 

y for exponential

 

 

model.

ˆ

 

4

LBL D

Compute

for power model.

y

7

LBL G

Compute

xˆ

for straight–line

 

 

model.

xˆ

 

8

LBL H

Compute

for logarithmic

 

 

model.

xˆ

 

9

LBL I

Compute

for exponential

 

 

model.

xˆ

 

10

LBL J

Compute

for power model.

Example: Loop Control With (i).

An index value in i is used by the program "Solutions of Simultaneous Equations—Matrix Inversion Method" in chapter 15. This program uses the looping instructions   L and   L in conjunction with the

indirect instructions 1L2 and !1L2 to fill and manipulate a matrix .

The first part of this program is routine A, which stores the initial loop–control number in i.

Program lines:

    )

Description:

The starting point for data input.

Loop–control number: loop from 1 to 12 in intervals of 1.

Programming Techniques 13–23

File name 32sii-Manual-E-0424

 

Printed Date : 2003/4/24

Size : 17.7 x 25.2 cm