changeset 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 188082b88d85
children f4c5cc37d71d
files nocompile/slice_10.d
diffstat 1 files changed, 17 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/slice_10.d	Thu Mar 17 15:52:24 2005 +0000
@@ -0,0 +1,17 @@
+// $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];
+}
+