From: Preben Randhol <randhol+news@pvv.org>
Subject: Re: Can help me interpret this in Ada! Newbie here
Date: Fri, 1 Nov 2002 16:48:48 +0000 (UTC)
Date: 2002-11-01T16:48:48+00:00 [thread overview]
Message-ID: <slrnas5c36.q6.randhol+news@kiuk0152.chembio.ntnu.no> (raw)
In-Reply-To: 3dc2adbc$1@news.starhub.net.sg
ulysses wrote:
> Hi there,
>
> subtype SRU_ID_Type is Machine.Bit_4 range 0 .. 6 ; <--- what does it mean
> it Ada
Read : http://www.it.bton.ac.uk/staff/je/adacraft/ch05.htm#5.3
>
> 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
> ) ;
>
Read : http://www.it.bton.ac.uk/staff/je/adacraft/ch06.htm#6.3
--
Preben Randhol -------------------- http://www.pvv.org/~randhol
�.., chaos is found in greatest abundance wherever order is being
sought. It always defeats order, because it is better organized.�
-- Interesting Times, Terry Pratchett
next prev parent reply other threads:[~2002-11-01 16:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-01 16:37 Can help me interpret this in Ada! Newbie here ulysses
2002-11-01 16:48 ` Preben Randhol [this message]
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