comp.lang.ada
 help / color / mirror / Atom feed
* Null record
@ 2003-08-16  4:54 Adrian Hoe
  2003-08-16  9:10 ` Preben Randhol
  2003-08-16 12:58 ` Matthew Heaney
  0 siblings, 2 replies; 3+ messages in thread
From: Adrian Hoe @ 2003-08-16  4:54 UTC (permalink / 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,




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-08-16 12:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-16  4:54 Null record Adrian Hoe
2003-08-16  9:10 ` Preben Randhol
2003-08-16 12:58 ` Matthew Heaney

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