home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.fortran
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!sun-barr!ames!saimiri.primate.wisc.edu!zaphod.mps.ohio-state.edu!news.acns.nwu.edu!ftpbox!mothost!white!sapphire.rtsg.mot.com!iott
- From: iott@rtsg.mot.com (Joel K. Iott)
- Subject: Z'hexno' gives compilation errors
- Message-ID: <1992Nov5.163755.18693@rtsg.mot.com>
- Sender: news@rtsg.mot.com
- Nntp-Posting-Host: amethyst
- Organization: Motorola Inc.
- Date: Thu, 5 Nov 1992 16:37:55 GMT
- Lines: 37
-
-
- I am trying to compile the following file on an Apollo workstation:
-
- SUBROUTINE VT100 (CURSOR, LCURSOR)
- C
- C CURSOR CONTROL CHARACTERS FOR A VT100 TERMINAL
- C
- INTEGER ZERO, SEMI, H
- C
- INTEGER*4 CURSOR(10,22), LCURSOR(22), CDATA(22), LCDATA(22),
- 1 BUFFER4(2)
- C
- LOGICAL CURRADDR
- C
- DATA ZERO/Z'30'/, SEMI/Z'3B'/, H/Z'48'/
- DATA CDATA/
- 1 Z'1B5B4800',Z'1B5B4100',Z'1B5B4200',Z'1B5B4400',Z'1B5B4300',
- 2 Z'1B5B0000',Z'1B5B3652',Z'1B5B324A',Z'00000000',Z'1B5B304B',
- 3 Z'1B5B304A',Z'00000000',Z'00000000',Z'00000000',Z'00000000',
- 4 Z'00000000',Z'00000000',Z'00000000',Z'07000000',Z'09000000',
- 5 Z'0D000000',Z'0A000000'/
- DATA LCDATA/3,3,3,3,3, 2,4,4,0,4, 4,0,0,0,0, 0,0,0,1,1, 1,1/
-
- ...etc.
-
- and get the following errors. Any help would be appreciated.
-
-
- f77 -c vt100.f
- vt100.f:
- (00012) DATA ZERO/Z'30'/, SEMI/Z'3B'/, H/Z'48'/
- **** Error #224 on Line 12: [DATA ZERO/@Z] symbolic name of constant expected
- (00018) 5 Z'0D000000',Z'0A000000'/
- **** Error #224 on Line 18: [ @Z] symbolic name of constant expected
-
- Thanks
- Joel
-