comp.lang.ada
 help / color / mirror / Atom feed
From: "ulysses" <ulysses_w@hotmail.com>
Subject: Can help me interpret this in Ada! Newbie here
Date: Sat, 2 Nov 2002 00:37:09 +0800
Date: 2002-11-02T00:37:09+08:00	[thread overview]
Message-ID: <3dc2adbc$1@news.starhub.net.sg> (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 ....





             reply	other threads:[~2002-11-01 16:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-01 16:37 ulysses [this message]
2002-11-01 16:48 ` Can help me interpret this in Ada! Newbie here Preben Randhol
2002-11-01 16:53 ` Martin Dowie
replies disabled

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