dotnet / dotnet/vblang

Variable Introduction.

Open
#132 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
328
Forks
71
PR merge metrics
No merged PRs in 30d

Description

**Variable Introduction**
There are a few places where it is desirable to be able inline the declaration of variable.
An example of this is *out*/*byref* method parameters.
```vbnet
Dim IsValid = Integer.TryParse( text, Out value )
```
In this case I am using `out` as the method of variable introduction, which is in keeping with the style / grammar being proposed for C#

There are language proposals where additional usage of variable introduction are possible.
#119
```vbnet
Dim state = TypeOf obj Is T InTo ObjT
Case Is T InTo Obj
```
In this code I am using `InTo` as the method of variable introduction. This style usage is borrowed from LInq
query syntax.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.