Trailing-Edge
-
PDP-10 Archives
-
decuslib10-07
-
43,50446/usery.f4
There are no other files named usery.f4 in the archive.
FUNCTION USERY(IY)
C************************************************************
C
C THIS ROUTINE RETURNS THE USER Y POSITION
C OF A SPECIFIED PHYSICAL POSITION.
C
C POSSIBLE ERRORS:
C NONE
C
C ROUTINES CALLED:
C NONE
C
C************************************************************
INTEGER BEAMX, BEAMY
COMMON /SCLBLK/ XMIN, YMIN, XMAX, YMAX, BEAMX, BEAMY
SCALE = 767. / (YMAX - YMIN)
USERY = FLOAT(IY) / SCALE + YMIN
RETURN
END