Emmanuel Stapf [ES] wrote:
>> My comment is not right. The reason one string is accepted is that I
>> have declared only one string in TUPLE[STRING_8].
>>
>> How do I declare a TUPLE to allow an arbitrary number of items?
>
> Unfortunately there is no way to specify that in Eiffel code. You
> should be using
> an ARRAY instead since it is more what you would expect. However,
> you could build
> this tuple using INTERNAL but I would not recommend this route if possible.
Thank you.
I had reached that conclusion and was thinking about the impact of
changing to an ARRAY. But, I thought there may have been a way ... :-(.
I had used TUPLE when the arguments were predetermined because of its
convenient manifest notation - not a good reason, I know - and its
similarity to notations elsewhere.
--
Peter Horan Faculty of Science and Technology
peter@... Deakin University
+61-4-0831 2116 (Voice) Geelong, Victoria 3217, AUSTRALIA
+61-3-5227 2028 (FAX)
http://www.eit.deakin.edu.au/~peter-- The Eiffel guarantee: From specification to implementation
-- (
http://www.cetus-links.org/oo_eiffel.html)
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/eiffel_software/<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/eiffel_software/join (Yahoo! ID required)
<*> To change settings via email:
mailto:
eiffel_software-digest@...
mailto:
eiffel_software-fullfeatured@...
<*> To unsubscribe from this group, send an email to:
eiffel_software-unsubscribe@...
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/