<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'><BR><BR><BR>
<BLOCKQUOTE>
<HR id=EC_stopSpelling>
<BR>
From: jayk123@hotmail.com<BR>To: jayk123@hotmail.com<BR>Subject: tests vs. language changes?<BR>Date: Sat, 3 May 2008 08:45:59 +0000<BR><BR>
<META content="Microsoft SafeHTML" name=Generator>
<STYLE>
.ExternalClass .EC_hmmessage P
{padding:0px;}
.ExternalClass body.EC_hmmessage
{font-size:10pt;font-family:Tahoma;}
</STYLE>
Looking at tests p205, p206, p130<BR><BR>p205 -- initialization involving subarray(constant open array)<BR>p206 -- initialization involving open array<BR>p130 -- use of type "UNSIGNED"<BR><BR>I am led to believe that the language used to have an UNSIGNED type,<BR>but it was dropped long ago. p130 can just be thrown out.<BR><BR>?<BR><BR>Constant array constructors without index types could<BR>arguably be considered fixed size with indices 0..n-1, but<BR>they are in fact considered open, and this should remain asis.<BR>p206 is at least partly invalid.<BR><BR>
The language definition and, barely, tutorial point to this.<BR>
I didn't check the green book.<BR>
<BR>p205 suggests the same as p206 perhaps, perhaps the<BR>compiler has this in mind, since there's a bunch of cases<BR>for "types" of arrays -- open, fixed -- and the test goes<BR>down an open path.<BR>Subarray.PrepLV is what I'm referring to in particular.<BR>The right fix for p205 might be for the case of "constant open"<BR>arrays to be implemented more like fixed arrays.<BR>In particular, avoid the call to CompileAddress.<BR>In particular, end up in case 3 instead of, I think 7.<BR><BR>?<BR><BR>
I'll maybe look into Subarray.PrepLV later, after some other tests..<BR>
<BR>
- Jay<BR><BR><BR></BLOCKQUOTE></body>
</html>