Trailing-Edge
-
PDP-10 Archives
-
BB-AE97C-BM
-
sources/wfeob.bli
There are 10 other files named wfeob.bli in the archive. Click here to see a list.
%TITLE 'WFEOB - check for end of buffer'
MODULE WFEOB ( ! Check for end of buffer
IDENT = '1-004' ! File: WFEOB.BLI Edit: JBS1004
) =
BEGIN
!
! COPYRIGHT (c) 1981, 1985 BY
! DIGITAL EQUIPMENT CORPORATION, MAYNARD, MASS.
! ALL RIGHTS RESERVED.
!
! THIS SOFTWARE IS FURNISHED UNDER A LICENSE AND MAY BE USED AND COPIED
! ONLY IN ACCORDANCE WITH THE TERMS OF SUCH LICENSE AND WITH THE
! INCLUSION OF THE ABOVE COPYRIGHT NOTICE. THIS SOFTWARE OR ANY OTHER
! COPIES THEREOF MAY NOT BE PROVIDED OR OTHERWISE MADE AVAILABLE TO ANY
! OTHER PERSON. NO TITLE TO AND OWNERSHIP OF THE SOFTWARE IS HEREBY
! TRANSFERRED.
!
! THE INFORMATION IN THIS SOFTWARE IS SUBJECT TO CHANGE WITHOUT NOTICE
! AND SHOULD NOT BE CONSTRUED AS A COMMITMENT BY DIGITAL EQUIPMENT
! CORPORATION.
!
! DIGITAL ASSUMES NO RESPONSIBILITY FOR THE USE OR RELIABILITY OF ITS
! SOFTWARE ON EQUIPMENT WHICH IS NOT SUPPLIED BY DIGITAL.
!
!++
! FACILITY: EDT -- The DEC Standard Editor
!
! ABSTRACT:
!
! Check for end of buffer.
!
! ENVIRONMENT: Runs at any access mode - AST reentrant
!
! AUTHOR: Bob Kushlis, CREATION DATE: October 16, 1978
!
! MODIFIED BY:
!
! 1-001 - Original. DJS 23-Feb-1981. This module was created by
! extracting routine EDT$$TST_EOB from module EDTWF.
! 1-002 - Regularized headers. JBS 25-Feb-1981
! 1-003 - Fix module name. JBS 16-Mar-1981
! 1-004 - Change EOB_LINE to EOB_LN . JBS 31-Mar-1981
!--
%SBTTL 'Declarations'
!
! TABLE OF CONTENTS:
!
REQUIRE 'EDTSRC:TRAROUNAM';
FORWARD ROUTINE
EDT$$TST_EOB;
!
! INCLUDE FILES:
!
REQUIRE 'EDTSRC:EDTREQ';
!
! MACROS:
!
! NONE
!
! EQUATED SYMBOLS:
!
! NONE
!
! OWN STORAGE:
!
! NONE
!
! EXTERNAL REFERENCES:
!
! In the routine
%SBTTL 'EDT$$TST_EOB - check for end of buffer'
GLOBAL ROUTINE EDT$$TST_EOB ! Check for end of buffer
=
!++
! FUNCTIONAL DESCRIPTION:
!
! Check for end of buffer. Return a 1 if we are positioned at the end
! of the current buffer, 0 otherwise.
!
! FORMAL PARAMETERS:
!
! NONE
!
! IMPLICIT INPUTS:
!
! WK_LN
! EOB_LN
!
! IMPLICIT OUTPUTS:
!
! NONE
!
! ROUTINE VALUE:
!
! 1 At end of buffer
! 0 Not at end of buffer
!
! SIDE EFFECTS:
!
! NONE
!
!--
BEGIN
EXTERNAL
WK_LN : REF LIN_BLOCK, ! Pointer to current line
EOB_LN;
!+
! We are at EOB iff the line pointer is pointing at the EOB line.
!-
RETURN (.WK_LN EQLA EOB_LN);
END;
END
ELUDOM