Visual Basic: Syntax
From Mario Fan Games Galaxy Wiki
(This is currently more of a test to see whether or not these sorts of pages are worth making)
This is a list of common syntax elements in the Visual Basic programming language.
Comments
Comments in Visual Basic are made by placing an apostrophe ( ' ) at the beggining of a line.
'this is a comment in VB
As with most programming languages, comments are ignored by the Visual Basic interpreter and therefore don't effect the code in any way. They simply exist to help other programmers understand the code better.
IF Statements
Yada yada yada
If something = something then dooby = dooble Elseif somethingelse = something then dooble = dooby Else doobledooby = true End if
blah blah blah
Case
Select Case YOMAMMA Case 2352 YOMAMMA = false Case 63251 YOMAMMA = true Case else YOMAMMA = YODADDA End select
and you get the message
and then there would be a box here with more meaningful tutorials listed in it