comp.lang.ada
 help / color / mirror / Atom feed
From: limor_ru@walla.co.il (lolo27)
Subject: beginner array question
Date: 20 Nov 2003 02:34:57 -0800
Date: 2003-11-20T02:34:57-08:00	[thread overview]
Message-ID: <92bfc3dd.0311200234.2b74b41f@posting.google.com> (raw)

hi
i am writing a generic package
generic
   ---------general parameters-----------
   type Someting is(<>);
   type something_array is Array (integer range<>) of Someting ;   

---------------------------------------------------
in the adb file i want to ask the following 
 function is_final(current_state:Someting ;final:something_array ) return boolean is
   begin
      if current_state in final'First..final'Last then
         return true;
      else
         return false;
      end if;  
   end is_final;
   
   ----

how can i ask if current_state is in final

thanks a lot



             reply	other threads:[~2003-11-20 10:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-20 10:34 lolo27 [this message]
2003-11-20 12:00 ` beginner array question Jeff C,
2003-11-20 12:03 ` David C. Hoos, Sr.
2003-11-20 17:40 ` Jeffrey Carter
replies disabled

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