record structures are indicated in an orthogonal way by simply nesting record declarations inside record declarations. In Ada, records cannot be anonymous—they must be named types. Consider the following Ada declaration:
โครงสร้างบันทึกที่ระบุไว้ในวิธีที่ฉากโดยเพียงแค่ทำรังประกาศบันทึกภายในประกาศบันทึก ใน Ada บันทึกไม่สามารถระบุประเภทพวกเขาจะต้องมีชื่อ พิจารณาประกาศ Ada ต่อไปนี้: