Skip to content

Reverse for loops #87

@omnit3a

Description

@omnit3a

Add the ability to do reverse for loops, such as...
for i in range(11, 0)
Currently this is not possible, as the loop is simply not run if the first argument(11) is larger than second argument(0)
I believe this could be done easily by checking if the first argument is larger than the second argument, and if it is, swapping the arguments

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions