Content deleted Content added
update link |
Citation bot (talk | contribs) Add: website, date. | Use this bot. Report bugs. | Suggested by Whoop whoop pull up | #UCB_webform 339/990 |
||
Line 27:
}}
'''Visual Basic''' ('''VB'''), originally called '''Visual Basic .NET''' ('''VB.NET'''), is a [[Multi-paradigm programming language|multi-paradigm]], [[Object-oriented programming|object-oriented]] [[programming language]], implemented on [[.NET]], [[Mono (software)|Mono]], and the [[.NET Framework]]. Microsoft launched VB.NET in 2002 as the successor to its [[Visual Basic (classic)|original Visual Basic]] language, the last version of which was Visual Basic 6.0. Although the ".NET" portion of the name was dropped in 2005, this article uses "Visual Basic [.NET]" to refer to all Visual Basic languages released since 2002, in order to distinguish between them and the [[Visual Basic (classic)|classic Visual Basic]]. Along with [[C Sharp (programming language)|C#]] and [[F Sharp (programming language)|F#]], it is one of the three main languages targeting the .NET ecosystem. Microsoft updated its VB language strategy on 6 February 2023, stating that VB is a stable language now and Microsoft will keep maintaining it.<ref>{{Cite web |last=KathleenDollard |title=Visual Basic language strategy - Visual Basic |url=https://learn.microsoft.com/en-us/dotnet/visual-basic/getting-started/strategy |access-date=2023-03-31 |website=learn.microsoft.com |date=February 6, 2023 |language=en-us |archive-date=March 31, 2023 |archive-url=https://web.archive.org/web/20230331060301/https://learn.microsoft.com/en-us/dotnet/visual-basic/getting-started/strategy |url-status=live }}</ref>
Microsoft's [[integrated development environment]] (IDE) for developing in Visual Basic is [[Visual Studio]]. Most Visual Studio editions are [[commercial software|commercial]]; the only exceptions are [[Visual Studio Express]] and [[Microsoft Visual Studio#Community|Visual Studio Community]], which are [[freeware]]. In addition, the [[.NET Framework SDK]] includes a freeware [[command-line]] [[compiler]] called vbc.exe. [[Mono (software)|Mono]] also includes a command-line VB.NET compiler.
Line 45:
In addition, in Visual Basic:
* There is no unified way of defining blocks of statements. Instead, certain keywords, such as "If … Then" or "Sub" are interpreted as starters of sub-blocks of code and have matching termination keywords such as "End If" or "End Sub".
* Statements are terminated either with a [[Colon (punctuation)|colon]] (":") or with the [[end of line]]. Multiple-line statements in Visual Basic are enabled with " _" at the end of each such line. The need for the underscore continuation character was largely removed in version 10 and later versions.<ref>{{cite web |url=https://msdn.microsoft.com/en-us/library/ff637436.aspx |title=New Features in Visual Basic 10 |date=June 3, 2010 |access-date=September 5, 2015 |archive-date=March 4, 2016 |archive-url=https://web.archive.org/web/20160304231731/https://msdn.microsoft.com/en-us/library/ff637436.aspx |url-status=live }}</ref>
* The [[equals sign]] ("=") is used in both assigning values to variables and in comparison.
* [[Parentheses|Round brackets]] (parentheses) are used with [[Array data structure|arrays]], both to declare them and to get a value at a given index in one of them. Visual Basic uses round brackets to define the parameters of subroutines or functions.
Line 335:
=== 2013 (VB 12.0) ===
Visual Basic 2013 was released alongside .NET Framework 4.5.1 with Visual Studio 2013. Can also build .NET Framework 4.5.2 applications by installing Developer Pack.<ref>{{Cite web |url=http://www.microsoft.com/en-us/download/details.aspx?id=42637 |title=Download Microsoft .NET Framework 4.5.2 Developer Pack for Windows Vista SP2, Windows 7 SP1, Windows 8, Windows 8.1, Windows Server 2008 SP2 Windows Server 2008 R2 SP1, Windows Server 2012 and Windows Server 2012 R2 from Official Microsoft Download Center |website=[[Microsoft]] |access-date=January 11, 2020 |archive-date=January 9, 2020 |archive-url=https://web.archive.org/web/20200109181051/http://www.microsoft.com/en-us/download/details.aspx?id=42637 |url-status=live }}</ref>
=== 2015 (VB 14.0) ===
|