From: eduardsapotski@gmail.com
Subject: Сreate attributes.
Date: Fri, 21 Dec 2018 21:37:12 -0800 (PST)
Date: 2018-12-21T21:37:12-08:00 [thread overview]
Message-ID: <f38540f4-d18c-4eac-bb79-de126b655583@googlegroups.com> (raw)
Sorry for the stupid question...
For example. I have type:
type Person is record
First_Name : Unbounded_String := Null_Unbounded_String;
Last_Name : Unbounded_String := Null_Unbounded_String;
end record;
There is a list:
package People_Package is new Ada.Containers.Vectors(Natural, Person);
People : People_Package.Vector;
Next, I want to display this list with headers:
----------------------------
| NAME | SURNAME |
----------------------------
| John | Smith |
| Ada | Lovelace |
...
----------------------------
Can I use attributes to display headers?
For example something like this:
People'First_Name_Header
How can this be implemented?
next reply other threads:[~2018-12-22 5:37 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-22 5:37 eduardsapotski [this message]
2018-12-22 19:13 ` Сreate attributes Brad Moore
2018-12-28 9:26 ` eduardsapotski
2019-01-01 18:47 ` Brad Moore
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox