Skip to content

UNTIL will break at first chance. #278

@a1270

Description

@a1270

If the UNTIL condition ever becomes true the loop will break even if not completely executed.

 SET a TO 5.
 UNTIL a<0.5 {
   PRINT a.
   SET b TO a - 1.
   SET a TO 0.
   SET a TO b - 1.
 }.
 PRINT "Done: " + a.
5
Done: 0

Can't figure out a good way to find out where in the block we're at.

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