comp.lang.ada
 help / color / mirror / Atom feed
From: Christoph Grein <christoph.grein@eurocopter.de>
To: comp.lang.ada@ada.eu.org
Subject: Extracting Fields in Files
Date: 2000/01/13
Date: 2000-01-13T09:57:47+00:00	[thread overview]
Message-ID: <200001130658.HAA07055@bulgaria.otn.eurocopter.de> (raw)

There's nothing wrong with method 1.

However you could improve by introducing subtypes:

subtype Data_Range    is Positive range  1 ..  8;
subtype Command_Range is Positive range 73 .. 77;

Command_code := rec01 (Command_Range);
Date_entered := rec01 (Data_Range);









             reply	other threads:[~2000-01-13  0:00 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-01-13  0:00 Christoph Grein [this message]
2000-01-13  0:00 ` Extracting Fields in Files jmoor
2000-01-13  0:00   ` David C. Hoos, Sr.
2000-01-14  0:00     ` jmoor
2000-01-14  0:00       ` Ted Dennison
2000-01-15  0:00       ` Gautier
  -- strict thread matches above, loose matches on Subject: below --
2000-01-14  0:00 Christoph Grein
2000-01-14  0:00 ` jmoor
2000-01-12  0:00 jmoor
replies disabled

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