Bucket_Array module

bucket_array_find

procedureSource

The element at locator, by value. Fails an assert when the locator is out of range or names a free slot.

Example↗
array: Bucket_Array(string, 4);
locator := bucket_array_add(*array, "hi");
assert(bucket_array_find(*array, locator) == "hi");
bucket_array_reset(*array);
bucket_array_find :: (
    array: *Bucket_Array,
    locator: Bucket_Locator
) -> array.type

Parameters

array: *Bucket_Array

Returns

array.type

See also