Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

do / while #618

oodgaard started this conversation in Ideas
Feb 14, 2024 · 0 comments
Discussion options

How hard would it be to add do/while support ?
e.g:
do { scan(map, rover) } while (map.moveRight(rover))

In the above particular use case, if the rover is at (x,y) 0,0 and we run the move command, it needs to scan 0,0 before moving.

You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
💡
Ideas
Labels
None yet
1 participant
Morty Proxy This is a proxified and sanitized view of the page, visit original site.