dotnet / dotnet/vblang

Extend the "With" syntax

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

Description

At this moment, in a with block only one variable can be used, causing the following code:

```
With x
.prop1 = anothervar.x
.prop2 = anothervar.y
End With

```
Proposed new syntax:
```
With Left x, Right anothervar
.prop1 = .x
.prop2 = .y
End With
```

This saves a lot of typing.

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.