Skip to content

Suggestion to use c-style for loop #7

Description

@Joe23232

Hi, I wish to suggest the use of c-style for loop.

For example:

for mut i := 0; i < 10; i++
{

}

It can also do something like this:

mut i := 0;
for ; i < 10; i++
{

}

or have multiple instances:

for mut i := 0, mut x := 10; i < 10, x < 100; i++, x *= 2
{

}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions