Negative index range violation

SrMordred patric.dexheimer at gmail.com
Thu Feb 22 16:45:19 UTC 2018


On Thursday, 22 February 2018 at 02:41:30 UTC, Steven 
Schveighoffer wrote:
> Hah! I never thought of doing a slice with negative indexes ;)

Maybe is my past of python:

arr[-3:] to get the last 3 elements for eg.

:)


More information about the Digitalmars-d-learn mailing list