Skip to content

print is zero indexed in the parser #2989

@dvd101x

Description

@dvd101x

Checking the embedded docs for the function print there is the following example

print("Values: $0, $1, $2", [6, 9, 4])

It's kind of odd since in the parser there is no zero index in matrices, maybe it should be like:

print("Values: $1, $2, $3", [6, 9, 4])

So my suggestion is to review the possibility for print to be one indexed in the parser and adjust it's embedded docs accordingly.

To Reproduce
Write in the parser
help(print)

Try the following example in the parser
print("Values: $0, $1, $2", [6, 9, 4])

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions