Watch, Follow, &
Connect with Us
Public Report
Report From:    [ Add a report in this area ]  
Report #:  12332   Status: Closed
(Unavailable) Pulled from the internal system
Project:   Build #:  
Version:    9.0 Submitted By:   John Kaster
Report Type:  Basic functionality failure Date Reported:  2/1/2005 12:00:00 AM
Severity:    Infrequently encountered problem Last Updated: 3/20/2012 2:24:39 AM
Platform:    All versions Internal Tracking #:   219441
Resolution: Fixed (Resolution Comments) Resolved in Build: : 9.0.1882.30496
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None
Description
The delphi .net compiler can't count how many elements have been declared in an array.

[QC]
Steps to Reproduce:
Steps:

1. Compile the following .net console application:

program Project2;

const
  Test: array[0..1] of Integer = (0,1,2);

begin
end.

exp:
[Error] Project2.dpr(4): E2072 Number of elements (3) differs from declaration (2)
act:
[Error] Project2.dpr(4): E2072 Number of elements (-1) differs from declaration (2)
Workarounds
None
Attachment
N
Comments

None

Server Response from: ETNACODE01