dotnet / dotnet/vblang

[Proposal] For Each ByRef

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

Description

I suggest to allow iterating through collections by ref. like this:
```
Dim A = {1, 2, 3}
For Each ByRef item in A
item += 1
Next
```
after executing, A = {2, 3, 4}

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.