<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
C:\dev2\cm3.2\m3-sys\m3tests\src\p0\p078<BR>
<BR>
<BR>
This compiles with release but not head.<BR>
<BR>
<BR>
(* Copyright (C) 1994, Digital Equipment Corporation. *)<BR>(* All rights reserved. *)<BR>(* See the file COPYRIGHT for a full description. *)<BR> <BR>MODULE Main;<BR>
FROM Test IMPORT done, checkI, checkB;<BR>
CONST<BR> Numbers = ARRAY OF INTEGER {2, 3, 5, 7, 11};<BR>
First = Numbers [FIRST (Numbers)];<BR> Last = Numbers [LAST (Numbers)];<BR><BR>
Number = NUMBER (Numbers);<BR>
Empty = ARRAY OF INTEGER {};<BR> EFirst = FIRST (Empty);<BR> ELast = LAST (Empty);<BR> ENumber = NUMBER (Empty);<BR>
<BR>
BEGIN<BR>
checkI (First, 2);<BR>checkI (Last, 11);<BR>checkI (Number, 5);<BR>
checkB (EFirst > ELast, TRUE);<BR>checkI (ENumber, 0);<BR>
done ();<BR>
END Main.<BR>
<BR> <BR>
new source -> compiling Main.m3<BR>"..\Main.m3", line 14: value is not constant<BR>"..\Main.m3", line 19: value is not constant<BR>2 errors encountered<BR>compilation failed => not building program "pgm.exe"<BR>Fatal Error: package build failed<BR>
C:\dev2\cm3.2\m3-sys\m3tests\src\p0\p078><BR>
<BR>
<BR>
It is the lines with "NUMBER".<BR>
<BR>
<BR>
- Jay<BR> </body>
</html>