Skip to content
This repository was archived by the owner on Jan 12, 2024. It is now read-only.
This repository was archived by the owner on Jan 12, 2024. It is now read-only.

Random - Should this be zero-indexed? #256

@christopherkang

Description

@christopherkang

Describe the bug
The 'Random' function is not zero indexed.

To Reproduce
Use Message($"{Random[1.0]}");

Expected behavior
If our arrays are zero-indexed, the returned index should (intuitively) be zero-indexed.

Screenshots

System information

  • OS: Windows 10
  • Version of affected NuGet or PyPI package or packages - Not sure

Additional context

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