comp.lang.ada
 help / color / mirror / Atom feed
From: Adrian Hoe <mailbox@nospam.adrianhoe.com.my>
Subject: Null record
Date: Sat, 16 Aug 2003 12:54:59 +0800
Date: 2003-08-16T12:54:59+08:00	[thread overview]
Message-ID: <3f3db971_1@news.tm.net.my> (raw)

Hi,

Just a silly question.

A null record can be implemented as follow:

Method 1:

type Blank is new Some_Record with null record;




Method 2:

type Blank is new Some_Record with
    record
       null;
    end record;


Which is the most popular form and why? I assume personal preference 
influences the choice.

Regards,




             reply	other threads:[~2003-08-16  4:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-16  4:54 Adrian Hoe [this message]
2003-08-16  9:10 ` Null record Preben Randhol
2003-08-16 12:58 ` Matthew Heaney
replies disabled

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