Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!cs.utexas.edu!rutgers!orstcs!prism!duvalj From: duvalj@prism.cs.orst.edu (Joseph Edward Duval) Newsgroups: comp.lang.pascal Subject: Constant declarations of type RECORD in UNIX pascal Message-ID: <11843@orstcs.CS.ORST.EDU> Date: 26 Jul 89 22:56:32 GMT Sender: usenet@orstcs.CS.ORST.EDU Reply-To: duvalj@prism.CS.ORST.EDU (Joseph Edward Duval) Distribution: usa Organization: Oregon State Univ. -- Computer Science Lines: 32 I am trying to declare a constant in my UNIX (HP) pascal program that is is of TYPE record. In the manual it says it can be done but says nothing about how. Does anyone out there know how to do this? What I have now is: type sequence = record first : byte; next : byte; pcount : byte; param : packed array [1..8] of byte; private : byte; inter : byte; nxtlast : byte; last : byte; end; . . . const NUL = 0; NULSEQ = sequence (NUL, NUL, NUL, (NUL, NUL, NUL, NUL, NUL, NUL, NUL, NUL), (NUL, NUL, NUL, NUL); This doesn't work. Thanks for the help! - Joe Duval {duvalj@prism.CS.ORST.EDU}