Skip to content

Allow identifier and expressions when referencing an array index #11

@blapaz

Description

@blapaz

Currently only a number can be used to reference an array index, so the below code would have issues at line array[i]. However, this should be allowed, along with expressions array[(i - 1)].

i = 4	

while (i > 0)
{
  array[i] = array[(i - 1)]
  i = i - 1
}

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions