comp.lang.ada
 help / color / mirror / Atom feed
* qualified expression
@ 2021-02-08  9:02 Mehdi Saada
  2021-02-08 10:21 ` AdaMagica
  0 siblings, 1 reply; 5+ messages in thread
From: Mehdi Saada @ 2021-02-08  9:02 UTC (permalink / raw)


Is it possible to express within a qualified expression,
not a slice with all elements being the same, but a slice from another variable ?

type t_type (det: det_type := default_value) is record
          T_vect: t_arrays(0..det) := (others => null_value);
end record;
var2 : t_vect(1..det+1) :=...;
Like, usually it is: T_type'(det1, 0..det1 => Element)
there it would looks like T_type'(det1, 0..det1 =>  Var2(1..det1));
btw, shouln't the context here be sufficient for the expression to resolve ?

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-02-08 16:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-08  9:02 qualified expression Mehdi Saada
2021-02-08 10:21 ` AdaMagica
2021-02-08 11:47   ` Mehdi Saada
2021-02-08 16:18     ` AdaMagica
2021-02-08 12:36   ` Jeffrey R. Carter

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