Data update
This commit is contained in:
parent
4bb20c9b71
commit
cbaf4c4b64
12390 changed files with 318560 additions and 27248 deletions
4
Task/Compound-data-type/Ada/compound-data-type-1.adb
Normal file
4
Task/Compound-data-type/Ada/compound-data-type-1.adb
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
type Point is tagged record
|
||||
X : Integer := 0;
|
||||
Y : Integer := 0;
|
||||
end record;
|
||||
4
Task/Compound-data-type/Ada/compound-data-type-2.adb
Normal file
4
Task/Compound-data-type/Ada/compound-data-type-2.adb
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
type Point is record
|
||||
X : Integer := 0;
|
||||
Y : Integer := 0;
|
||||
end record;
|
||||
11
Task/Compound-data-type/Ada/compound-data-type-3.adb
Normal file
11
Task/Compound-data-type/Ada/compound-data-type-3.adb
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
type Person (Gender : Gender_Type) is record
|
||||
Name : Name_String;
|
||||
Age : Natural;
|
||||
Weight : Float;
|
||||
Case Gender is
|
||||
when Male =>
|
||||
Beard_Length : Float;
|
||||
when Female =>
|
||||
null;
|
||||
end case;
|
||||
end record;
|
||||
Loading…
Add table
Add a link
Reference in a new issue