comp.lang.ada
 help / color / mirror / Atom feed
From: AdaMagica <christ-usch.grein@t-online.de>
Subject: Re: qualified expression
Date: Mon, 8 Feb 2021 02:21:17 -0800 (PST)	[thread overview]
Message-ID: <d63a8bcf-aef0-43b1-9d2f-ae3d2b01f923n@googlegroups.com> (raw)
In-Reply-To: <05ea3d57-6d03-4f8e-8a8c-6282a11f447dn@googlegroups.com>

0012...@gmail.com schrieb am Montag, 8. Februar 2021 um 10:02:57 UTC+1:

Terrible unreadable style!

> 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) :=...; 

var2: t_arrays(1..det+1);

> Like, usually it is: T_type'(det1, 0..det1 => Element)

T_type'(det1, (0..det1 => Element))   -- parentheses missing

> there it would looks like T_type'(det1, 0..det1 => Var2(1..det1)); 

T_type'(det1, Var2(1..det1+1));  -- positional, slides
T_type'(det1, T_Vect => Var2(1..det1+1));  -- mixed positional named

> btw, shouln't the context here be sufficient for the expression to resolve ?
Guess so.

  reply	other threads:[~2021-02-08 10:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-08  9:02 qualified expression Mehdi Saada
2021-02-08 10:21 ` AdaMagica [this message]
2021-02-08 11:47   ` Mehdi Saada
2021-02-08 16:18     ` AdaMagica
2021-02-08 12:36   ` Jeffrey R. Carter
replies disabled

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