EasyManua.ls Logo

Sharp PYTHAGORUS - Page 83

Sharp PYTHAGORUS
92 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
75 | Page
14;
IF SIN (D-A) ≥ 0 , GTO “360”
continued
The command IF is used
in this line as with all
conditionals.
15; DSP “TRACK=“
Display the name of the
result and pause (not
stop).
16;
INT (J) => J , J => HLT
As with the distance
calculation, only display
the integer and ignore
the fractional part. This
was done to simplify the
displayed answer as the
trailing decimal points
are not required.
17;
“360”, 360 J => J
The label 360 which is
used to correct the
direction of the initial
track and resulted from
the conditional test ≥
from line
18;
DSP “TRACK=“
Display the name of the
result and pause (not
stop).
19;
INT (J) => J , J => HLT
As with the distance
calculation, only display
the integer and ignore
the fractional part. This
was done to simplify the
displayed answer as the
trailing decimal points
are not required.
20;
“B” , DSP “ INT. LATITUDE”
Automatic execution of
the rest of the code until
a HLT, END or another
DSP command is read.

Related product manuals