Skip to content

Caveats in variable naming and conflicts #15

Description

@elektito

The following cases should be added to vars.test file, and pass.

Duplicate definition:
x% = 10
dim x as

Duplicate definition:
dim x as single
x% = 2

Duplicate definition:
dim x a s single
print x%

No error; x and x! are the same variable:
dim x as sinle
x! = 2

No error; x and x% are separate variables:
dim x
x% = 2

No error; x and x! are the same variable:
dim x
x! = 5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions