summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLiam Demafelix <liamdemafelix.n@gmail.com>2015-10-31 08:26:09 +0800
committerLiam Demafelix <liamdemafelix.n@gmail.com>2015-10-31 08:26:09 +0800
commit93d3ab4578cd7c6e27f4d2b9468179528d326a22 (patch)
treec7183c993d509f6bbae53ad4ab36e669c30981d9
parentf0a4c88acfac9514aca6dd33e2d3f8c4d5e815dc (diff)
[vb/en] Additional note for select statements
-rw-r--r--visualbasic.html.markdown3
1 files changed, 3 insertions, 0 deletions
diff --git a/visualbasic.html.markdown b/visualbasic.html.markdown
index bdfdcc10..accdbf56 100644
--- a/visualbasic.html.markdown
+++ b/visualbasic.html.markdown
@@ -32,6 +32,9 @@ Module Module1
Console.WriteLine("50. About")
Console.WriteLine("Please Choose A Number From The Above List")
Dim selection As String = Console.ReadLine
+ ' The "Case" in the Select statement is optional.
+ ' For example, "Select selection" instead of "Select Case selection"
+ ' will also work.
Select Case selection
Case "1" 'HelloWorld Output
Console.Clear() 'Clears the application and opens the private sub