File: grgmsg.f

package info (click to toggle)
pgplot5 5.2.2-19.3
  • links: PTS
  • area: non-free
  • in suites: buster, stretch
  • size: 7,136 kB
  • ctags: 6,763
  • sloc: fortran: 39,792; ansic: 22,549; objc: 1,534; sh: 1,298; makefile: 385; perl: 234; pascal: 233; tcl: 190; awk: 51; csh: 25
file content (22 lines) | stat: -rw-r--r-- 626 bytes parent folder | download | duplicates (15)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

C*GRGMSG -- print system message (VMS)
C+
      SUBROUTINE GRGMSG (STATUS)
      INTEGER STATUS
C
C This routine obtains the text of the VMS system message corresponding
C to code STATUS, and displays it using routine GRWARN.
C
C Argument:
C  STATUS (input): 32-bit system message code.
C--
C 18-Feb-1988
C-----------------------------------------------------------------------
      CHARACTER*80 BUFFER
      INTEGER  LENGTH, MSGLEN
C
      CALL SYS$GETMSG(%VAL(STATUS),MSGLEN,BUFFER,%VAL(1),)
      LENGTH = INDEX(BUFFER(1:MSGLEN),'!')
      IF (LENGTH.GT.1) MSGLEN = LENGTH-1
      CALL GRWARN(BUFFER(1:MSGLEN))
      END