dotnet / dotnet/vblang

Proposal: Assign value to variable before definition

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

Description

```
Sub XX ()
x = 1
... ' newly typed code using x here
Dim x = 0
... ' previously typed code using x here
End Sub
```

Why not ?

I want to avoid moving definitions to the top, if I need to write code after variable was defined, but new code must be placed before this already typed.

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.