Hallo Michael,

Du schriebst am Fri, 08 Nov 2013 10:40:11 +0100:

> On 11/08/2013 07:00 AM, Martin Schreiber wrote:
> > Do we need subrange types?

I'd opt for them.

> I understand subranges are only useful for defining arrays with same as 
> index.

TYPE
  MonthDay = 1..31;
  WeekDay =  1..7;
  CharBits = 5..9;  { for serial interfaces }

Not useful?
I think they are, but, of course, only if checked by the compiler at least.
And they ought to be _not_ compatible with arbitrary integer types.

-- 
-- 
(Weitergabe von Adressdaten, Telefonnummern u.ä. ohne Zustimmung
nicht gestattet, ebenso Zusendung von Werbung oder ähnlichem)
-----------------------------------------------------------
Mit freundlichen Grüßen, S. Schicktanz
-----------------------------------------------------------



------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to