slice_func Abstract Interface

abstract interface
private function slice_func(this, start_element, end_element)

Arguments

Type IntentOptional AttributesName
class(list), intent(in) :: this
integer, intent(in) :: start_element

The index of the first element in the slice to be returned

integer, intent(in) :: end_element

The index of the last element in the slice to be returned

Return Value class(list), allocatable

A list containing the elements within the slice.