blob: 0b3aec993145e3d26d6e368cd69a1609238fbdef (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc.
include <qpset.h>
include "qpoe.h"
# QP_STATR -- Get the value of an QPOE real parameter.
real procedure qp_statr (qp, param)
pointer qp #I QPOE descriptor
int param #I parameter to be queried
bool fp_equalr()
begin
switch (param) {
case QPOE_BLOCKFACTOR: # standard params
if (fp_equalr (QP_XBLOCK(qp), QP_YBLOCK(qp)))
return (QP_XBLOCK(qp))
else
return (ERR)
case QPOE_XBLOCKFACTOR:
return (QP_XBLOCK(qp))
case QPOE_YBLOCKFACTOR:
return (QP_YBLOCK(qp))
}
return (ERR)
end
|