From: "Pascal Obry" <p.obry@der.edf.fr>
Subject: Re: More C
Date: 2000/01/28
Date: 2000-01-28T08:39:03+00:00 [thread overview]
Message-ID: <86rkj7$6re$1@clnews.edf.fr> (raw)
In-Reply-To: 86rbgm$9ic1@news.cis.okstate.edu
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1076 bytes --]
David,
The answer to your question was in the message you quoted!
To know the number of colors use : Palette.Colors'Length (.all is
not required here I think).
You can also iterate through the table using:
for K in Palette.Colors'Range loop
...
end loop;
Did I missed something ?
Pascal.
--
--|------------------------------------------------------------
--| Pascal Obry Team-Ada Member |
--| |
--| EDF-DER-IPN-SID- T T I |
--| Intranet: http://cln46gb |
--| Bureau N-023 e-mail: p.obry@der.edf.fr |
--| 1 Av G�n�ral de Gaulle voice : +33-1-47.65.50.91 |
--| 92141 Clamart CEDEX fax : +33-1-47.65.50.07 |
--| FRANCE |
--|------------------------------------------------------------
--|
--| http://perso.wanadoo.fr/pascal.obry
--|
--| "The best way to travel is by means of imagination"
next prev parent reply other threads:[~2000-01-28 0:00 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <vhizotrc4x7.fsf@grotte.ifi.uio.no>
2000-01-28 0:00 ` More C Jeff Carter
2000-01-28 0:00 ` Gautier
2000-01-28 0:00 ` tmoran
2000-01-28 0:00 ` David Starner
2000-01-28 0:00 ` Pascal Obry [this message]
2000-01-28 0:00 ` David Starner
2000-01-28 0:00 ` tmoran
2000-01-30 0:00 ` Nick Roberts
[not found] ` <vhioga1r2j8.fsf@grotte.ifi.uio.no>
2000-02-01 0:00 ` tmoran
2000-02-02 0:00 ` Nick Roberts
2000-02-03 0:00 ` Keith Thompson
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox