Fabricante : HP
Arquivo Tamanho: 267.35 kb
Arquivo Nome :
|
por este dispositivo também tem outras instruções :
Facilidade de uso
In
F
OR
TRAN
66/V,
substring
designators
and
partial
w
ord
Conv
ersion
of
designators
ha
v
e
the
same
form:
VAR[i:j] .
Only
a
compiler
can
Constructs
of
the
Form
determine
whether
a
construct
is
a
substring
designator
or
a
partial
V
AR[i:j]
w
ord
designator.
Therefore,
the
migration
aid
splits
the
con
v
ersion
of
this
construct
in
to
t
w
o
parts.
The
rst
part
asks
whether
to
treat
suc
h
constructs
as
substring
designators;
the
second
asks
whether
to
treat
them
as
partial
w
ord
designators.
Be
sure
to
co ordinate
y
our
resp onses
to
the
substring
designator
and
Note
partial
w
ord
designator
commands.
If
y
ou
resp ond
Y
to
one,
y
ou
should
not
resp ond
Y
to
the
other.
If
y
ou
are
not
sure
whether
a
resp onse
w
ould
b e
appropriate
for
all
o ccurrences,
answ
er
A
(ask)
so
that
y
ou
are
prompted
as
eac
h
o ccurrence
is
found.
This
command
con
v
erts
constructs
of
the
form
VAR[i:j]
to
Substring
Designators
substrings.
Note
that
whereas
in
F
OR
TRAN
66/V
j
represen
ts
the
n
um
b er
of
c
haracters
in
the
substring,
in
HP
F
OR
TRAN
77/V
j
represen
ts
the
p osition
of
the
last
c
haracter.
Applying
this
command
can
sometimes
result
in
a
wkward
algebraic
expressions.
The
section
\Eliminating
Awkw
ard
Algebraic
Expressions"
discusses
a
partial
solution
to
this
problem.
This
command
con
v
erts
VAR[i:j]
to
a
call
to
MVBITS
or
IBITS
P
artial
W
ord
dep ending
on
the
left
side
of
the
assignment
statement.
Designators
The
partial
w
ord
designators
in
F
OR
TRAN
66/V
start
coun
ting
Note
the
bits
from
the
left,
whereas
the
bit
manipulation
routines
in
HP
F
OR
TRAN
77/V
start
coun
ting
the
bits
from
the
right.
F
or
example,
I=IVAR[1:2]
indicates
the
second
and
third
bits
from
the
left
in
F
OR
TRAN
66/V,
but
in
the
functions
MVBITS
and
IBITS
it
indicates
the
second
and
third
bits
from
the
right.
This
dierence
may
result
in
a
wkw
ard
algebraic
expressions
that,
although
correct,
may
b e
dicult
to
read.
The
next
section
discusses
a
partial
solution
to
this
problem.
Applying
the
partial
w
ord
designator
or
substring
designator
Eliminating
Awkw
ard
command
can
result
in
a
wkw
ard
algebraic
expressions
suc
h
as
Algebraic
Expressions
...,16-0,...
or
...,-1+1,...
These
expressions
are
inecien
t
and
visually
a
wkward.
This
command
improv
es
the
form
of
these
expressions.
What
the
Migration
Aid
Does
3-9
... Este manual também é adequado para os modelos :
Software - MPE/iX 6.5 Operating System (267.35 kb)