vblang
vblang copied to clipboard
The home for design of the Visual Basic .NET programming language and runtime library.
Currently, this is valid: ```vb Sub WriteFoo() Console.WriteLine("foo") End Sub ``` and this is valid: ```vb Sub WriteFoo() Console.WriteLine("foo") : End Sub ``` but this is an error: ```vb Sub...
```vb Public Function empty_index(Of T)(Host As T()) As Long Dim Length = Host.LongLength, Pos = 0L Do If Pos >= Length Then Return -1 'Not work with value type. If...
I have seen a few issue related to this from 2-3 years ago, however they seem to be closed. I am bringing this up again, because I feel like there...
So, according to this post https://devblogs.microsoft.com/vbteam/visual-basic-support-planned-for-net-5-0/ on Microsoft's Devblog, VB.NET will be added to .NET 5 in a limited scope, but that's that. There's gonna be no further development of...
Former Microsoft engineer turned YouTuber Dave Plummer (https://www.youtube.com/channel/UCNzszbnvQeFzObW0ghk0Ckw) has instigated a test of language performance in one of his videos (https://youtu.be/tQtFdsEcK_s for the latest installment) I'll leave it to the...
_This issue has been moved from [a ticket on Developer Community](https://developercommunity.visualstudio.com/t/Indirecte-addressing-to-set-a-value-to-a/1410161)._ --- Example of the proposed function: say "TheNewFunction": Dim Variable1 As Integer Dim Variable2 As String = "Variable1" TheNewFunction(Variable2)...
```` Imports System.Runtime.CompilerServices Public Module Program Public Sub AddRange(Of T)([Me] As IList(Of T), elements As IEnumerable(Of T)) For Each e In elements [Me].Add(e) Next End Sub Public Sub AddRange(Of T)([Me]...
# Tuple Sub-Clauses I would like to use `TupleSyntax` as both argument to a `Select Case` and as arguments to a `Case` clause. Those tuple clauses each action as sub-clause,...
Hey there, An alpha version of WebAssembly compiler for VisualBasic.NET language was release, visit page [v0.5.136-alpha](https://github.com/GCModeller-Cloud/data.ts/releases/tag/v0.5.136-alpha) and have fun! # WebAssembly for VisualBasic.NET ## FAQ #### 1. Which platform that...
Suppose we have an array named arr, and want to select items > 3: ```VB.NET dim result = arr.Select(function(x) x > 3) ``` I want to rewrite it like this:...