Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site ucbvax.ARPA Path: utzoo!watmath!clyde!cbosgd!ucbvax!info-vax From: info-vax@ucbvax.ARPA Newsgroups: fa.info-vax Subject: PL/I "fixed" builtin function Message-ID: <4697@ucbvax.ARPA> Date: Fri, 8-Feb-85 21:26:43 EST Article-I.D.: ucbvax.4697 Posted: Fri Feb 8 21:26:43 1985 Date-Received: Sun, 10-Feb-85 03:28:57 EST Sender: daemon@ucbvax.ARPA Organization: University of California at Berkeley Lines: 25 From: Jerry BakinI don't understand why I received a warning message for the following, would someone explain the VAX/VMS PL/I compiler's behavior? Thanks, Jerry Bakin FIX 8-FEB-1985 17:57:48 VAX-11 PL/I V2.1-285 Page 1 V2.1 8-FEB-1985 17:57:34 UNB:[PLISUBRS.UNIQUE]FIX.PLI;2 (1) 1 fix: proc; 2 1 3 1 dcl bit32 bit(32); 4 1 dcl lword fixed bin (31); 5 1 dcl fixed builtin; 6 1 7 1 lword = fixed(bit32,31); %W, Implicit conversion. A bit string, BIT32, has been used as the first operand of a FIXED, FLOAT, or DECIMAL built-in function. 8 1 9 1 end;