On 2/17/2022 8:31 PM, Walter Bright wrote: > On 2/17/2022 4:07 PM, deadalnix wrote: >> Then you don't get to know the length of a slice, this is going to be really >> limiting really quick. > > cast(ptrdiff_t)length ptrdiff_t len = array.length; also works.