Mercurial > projects > dstress
view nocompile/slice_10.d @ 318:bb7273309924
float as slice index
Manfred Nowak <svv1999@hotmail.com>
2005-03-06
news:d0fg6a$dfa$1@digitaldaemon.com
author | thomask |
---|---|
date | Thu, 17 Mar 2005 15:52:24 +0000 |
parents | |
children | f87ba6507260 |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Manfred Nowak <svv1999@hotmail.com> // @date@ 2005-03-06 // @uri@ news:d0fg6a$dfa$1@digitaldaemon.com module dstress.nocompile.slice_10; void test(){ int[] array; array.length=4; float f=.2; array[1..2]= array[f..1.3]; }