Obsecure problem 1

frame frame86 at live.com
Sat Jul 30 21:52:42 UTC 2022


On Saturday, 30 July 2022 at 21:24:50 UTC, pascal111 wrote:
> I've typed a code to enjoy with my library "dcollect", and 
> found non-understandable error:
...
>
> Running screen says:
>
> https://i.postimg.cc/G3YyCmbF/Screenshot-from-2022-07-30-23-23-59.png

Why you don't copy the output instead?

A range violation is the safe error (if bound checking enabled) 
that is thrown if you access an index of a range or array that is 
out of bounds. You may try to access an index that is larger than 
elements in the array.




More information about the Digitalmars-d-learn mailing list