From: David SAUVAGE <david.sauvage@adalabs.com>
Subject: Representation clause of a discriminated record
Date: Tue, 2 Aug 2016 22:04:25 -0700 (PDT)
Date: 2016-08-02T22:04:25-07:00 [thread overview]
Message-ID: <677b076a-4cfb-4972-b5e5-d56c86e2179f@googlegroups.com> (raw)
Hi.all,
For a data frame which length can vary, we have described this data frame as a record, and wish to describe it's representation clause.
What would be a valid representation clause for the following discriminated record ? (taken from the Ada wikibook [1])
type Discriminated_Record (Size : Natural) is
record
A : String (1 .. Size);
end record;
[1] https://en.wikibooks.org/wiki/Ada_Programming/Types/record#Discriminated_record
next reply other threads:[~2016-08-03 5:04 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-03 5:04 David SAUVAGE [this message]
2016-08-03 6:13 ` Representation clause of a discriminated record Jeffrey R. Carter
2016-08-03 15:22 ` Per Sandberg
2016-08-03 16:43 ` david.sauvage
2016-08-03 16:46 ` David SAUVAGE
2016-08-04 21:23 ` Randy Brukardt
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox