' Visual Basic 2008 9.0 .NET Examples - Selections - Introduction to Visual Basic : Module Example2 Sub Main() Console.WriteLine("Value ?") Dim value As Integer = Console.ReadLine() ' If value = 0 Then Console.WriteLine("Zero.") If value > 0 Then Console.WriteLine("Positive value.") If value < 0 Then Console.WriteLine("Negative value.") ' Console.ReadLine() End Sub End Module ' Visit www.studyvb.com for more examples. Copyright 2003-2008 De Wolf.