Gobo Eiffel Kernel Library
Copyright (c) 1999, Eric Bezault and others
Eiffel Forum License v2 (see forum.txt)
$Date: 2005/06/29 12:47:35 $
$Revision: 1.10 $
-- Create a new array and initialize it
-- with items from an_array.
-- Routines that ought to be in class ANY
-- (From KL_IMPORTED_ANY_ROUTINES)
-- Array made up of items from an_array within
-- bounds start_pos and end_pos
-- Reasons why we don't use ARRAY.subarray directly:
-- * ELKS ARRAY 2000 and VE 4.1 return an 'ARRAY [G]'
-- whereas SE 1.0 and ISE 5.4/5.5 return a 'like Current'.
-- * ISE 5.4/5.5 does not allow subarrays of empty array,
-- and does not work with empty subarrays.
-- * This routine has an extra argument min_index compared
-- to the one provided by ELKS and the various compilers.
-- Reset all items to default values.
[040929] Use an_array.clear_all instead.
-- Rearrange array so that it can accommodate
-- indices down to min_index and up to max_index.
-- Do not lose any previously entered item.
-- Clone of an_array
Routines that ought to be in class ARRAY