Imports System
+Imports System.Globalization
+Imports System.Threading
Module AssignmentStatementsA
Sub main()
Dim i As Integer
+ Thread.CurrentThread.CurrentCulture = new CultureInfo("en-US")
i = 2
If i <> 2 Then
If s <> 3.45 Then
Throw New Exception("#ASA3 - Assignment Statement failed")
End If
-
+
s = New Date(2004, 8, 17)
If s <> New Date(2004, 8, 17) Then
Throw New Exception("#ASA4 - Assignment Statement failed")
Imports System
Imports Microsoft.VisualBasic
+Imports System.Globalization
+Imports System.Threading
Module AssignmentStatementsC
End Property
Sub main()
-
+ Thread.CurrentThread.CurrentCulture = New CultureInfo("en-US")
+
Mid(str, 7) = "MS.NET"
If str <> "Hello MS.NET World" Then
Throw New Exception("#ASC1 - Assignment Statement failed")
End If
Mid(mystr, 7) = "MS.NET"
+
If mystr <> "Hello MS.NETBasic " Then
Throw New Exception("#ASC5 - Assignment Statement failed")
End If
+2005-07-06 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
+ Patch submitted by
+ Aldo Monteiro do Nascimento (aldo@psl-pr.softwarelivre.org)
+ Maverson Eduardo Schulze Rosa (maverson@psl-pr.softwarelivre.org)
+ Renato Suga (renato@psl-pr.softwarelivre.org)
+ * AssignmentStatementsA.vb, AssignmentStatementsC.vb : Comparison values are
+ valid only for "en-US" culture, so force that culture on the current thread
2005-05-02 Ritvik Mayank <mritvik@novell.com>
Patch submitted by Sudharsan V <vsudharsan@novell.com>