summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAdam Bard <github@adambard.com>2015-10-31 18:25:32 +0800
committerAdam Bard <github@adambard.com>2015-10-31 18:25:32 +0800
commit7c3c8aea4116e4d501f8bb90a7a9cd4803451715 (patch)
tree89c19c23904ed6dbd76fa2fc06144c9f5871a24f
parentffc7728679bf0d5963c1d602e2a9483b83bfc448 (diff)
parent93d3ab4578cd7c6e27f4d2b9468179528d326a22 (diff)
Merge pull request #1920 from definitelyliam/patch-2
[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