Trailing-Edge
-
PDP-10 Archives
-
BB-H138F-BM_1988
-
7-sources/mess.bli
There are 10 other files named mess.bli in the archive. Click here to see a list.
%TITLE 'MESS - output a message'
MODULE MESS ( ! Output a message
IDENT = '1-002' ! File: MESS.BLI Edit: JBS1002
) =
BEGIN
!COPYRIGHT (c) DIGITAL EQUIPMENT CORPORATION 1981, 1988. 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 THAT IS NOT SUPPLIED BY DIGITAL.
!
!
!++
! FACILITY: EDT -- The DEC Standard Editor
!
! ABSTRACT:
!
! Output a message.
!
! ENVIRONMENT: Runs at any access mode - AST reentrant
!
! AUTHOR: Bob Kushlis, CREATION DATE: 6-AUG-1979
!
! MODIFIED BY:
!
! 1-001 - Original. DJS 18-FEB-1981. This module was created by
! extracting routine EDT$$OUT_ERRMSG from module EDTCTR.
! 1-002 - Regularize headers and fix file and module name. JBS 04-Mar-1981
!--
%SBTTL 'Declarations'
!
! TABLE OF CONTENTS:
!
REQUIRE 'EDTSRC:TRAROUNAM';
FORWARD ROUTINE
EDT$$OUT_ERRMSG;
!
! INCLUDE FILES:
!
REQUIRE 'EDTSRC:EDTREQ';
!
! MACROS:
!
! NONE
!
! EQUATED SYMBOLS:
!
! NONE
!
! OWN STORAGE:
!
! NONE
!
! EXTERNAL REFERENCES:
!
! In the routine
%SBTTL 'EDT$$OUT_ERRMSG - output a message'
GLOBAL ROUTINE EDT$$OUT_ERRMSG ( ! Output a message
MESS_NUM ! Message number
) =
!++
! FUNCTIONAL DESCRIPTION:
!
! Output a message, given the message number.
!
! FORMAL PARAMETERS:
!
! MESS_NUM Message number
!
! IMPLICIT INPUTS:
!
! EDIT_MOD
!
! IMPLICIT OUTPUTS:
!
! NONE
!
! ROUTINE VALUE:
!
! Same as EDT$$MSG_BELL or EDT$$FMT_MSG
!
! SIDE EFFECTS:
!
! NONE
!
!--
BEGIN
EXTERNAL ROUTINE
EDT$$MSG_BELL,
EDT$$FMT_MSG;
EXTERNAL
EDIT_MOD; ! Current editing mode
IF (.EDIT_MOD EQL CHANGE_MODE)
THEN
RETURN (EDT$$MSG_BELL (.MESS_NUM))
ELSE
RETURN (EDT$$FMT_MSG (.MESS_NUM));
END;
END
ELUDOM