[Mono-bugs] [Bug 74339][Nor] New - for-next with step attribute

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sat, 2 Apr 2005 17:18:52 -0500 (EST)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by jwezel@compumaster.de.

http://bugzilla.ximian.com/show_bug.cgi?id=74339

--- shadow/74339	2005-04-02 17:18:52.000000000 -0500
+++ shadow/74339.tmp.27621	2005-04-02 17:18:52.000000000 -0500
@@ -0,0 +1,51 @@
+Bug#: 74339
+Product: Mono: Compilers
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Basic
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: jwezel@compumaster.de               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: for-next with step attribute
+
+Description of Problem:
+STEP attribute for FOR loop doesn't work in mono 1.1.5/mbas 0.96.1.0 from 
+2005-04-02
+
+Steps to reproduce the problem:
+1. compile following script "test_fornext.vb" and execute
+Imports Microsoft.VisualBasic
+Imports System
+Imports System.IO
+Public Class Test
+Public Shared Sub Main()
+        For MyCounter As Integer = 1 to 3
+                Console.WriteLine (MyCounter)
+        Next
+        For MyCounter As Integer = 3 to -3 step -3
+                Console.WriteLine (MyCounter)
+        Next
+        Console.Readline()
+End Sub
+
+End Class
+
+
+Actual Results:
+Output of numbers 1 to 3 from first loop
+
+Expected Results:
+Missing output of second loop which should step backwards
+
+How often does this happen? 
+always
+
+Additional Information: