Skip to content

BasicIntroduction While Loop - Scoping Fix #39

@mborowczak

Description

@mborowczak
t = 0
while t < 5
  println(t)
  t+=1
end

Should become:

t = 0
while t < 5
  println(t)
  global t+=1
end

in order to avoid top-level scope errors.

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