comp.lang.ada
 help / color / mirror / Atom feed
From: sommar@enea.UUCP (Erland Sommarskog)
Subject: Question about discrimiants
Date: Tue, 7-Jul-87 06:34:15 EDT	[thread overview]
Date: Tue Jul  7 06:34:15 1987
Message-ID: <2079@enea.UUCP> (raw)


The following declaration is incorrect (LRM 3.7.1(6)):

TYPE Nisse(Size : integer_type) IS
     RECORD
        A : Array(1..Size) of integer;
        B : Array(1..2*Size) of integer;
     END;
     
Does anyone know why? I can understand forbidding a dynamic expression,
but a static?
-- 
Erland Sommarskog       
ENEA Data, Stockholm    
sommar@enea.UUCP        
                        

             reply	other threads:[~1987-07-07 10:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1987-07-07 10:34 Erland Sommarskog [this message]
1987-07-07 23:28 ` Question about discrimiants Dik T. Winter
1987-07-10 16:11 ` stt
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox