comp.lang.ada
 help / color / mirror / Atom feed
* Can help me interpret this in Ada! Newbie here
@ 2002-11-01 16:37 ulysses
  2002-11-01 16:48 ` Preben Randhol
  2002-11-01 16:53 ` Martin Dowie
  0 siblings, 2 replies; 3+ messages in thread
From: ulysses @ 2002-11-01 16:37 UTC (permalink / raw)


Hi there,

subtype SRU_ID_Type is Machine.Bit_4 range 0 .. 6 ;  <--- what does it mean
it Ada

Ok does this means it's an array of 7 Machine.Bit_4 ??

  Translate_SRU_ID_To_Fail_ID
      : constant array(SRU_ID_Type) of BIT_Fail_ID_Type
      := (
           0 => Antenna,
           1 => Processor,
           2 => Synthesizer,
           3 => GUARD_Rx,
           4 => Main_Rx,
           5 => Power_Supply,
           6 => Main_Tx
          ) ;

Next qn, so how each of these represent in bit format ??

Thanks for any help ....





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

end of thread, other threads:[~2002-11-01 16:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-01 16:37 Can help me interpret this in Ada! Newbie here ulysses
2002-11-01 16:48 ` Preben Randhol
2002-11-01 16:53 ` Martin Dowie

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