Visual Basic: Syntax
From Mario Fan Games Galaxy Wiki
Revision as of 12:13, 26 September 2009 by Black Squirrel (talk | contribs)
(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 VBAs 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 ifblah blah blah
Case
Select Case YOMAMMA
Case 2352
YOMAMMA = false
Case 63251
YOMAMMA = true
Case else
YOMAMMA = YODADDA
End selectand you get the message
and then there would be a box here with more meaningful tutorials listed in it