question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

There is no possibility to stop the cycle, such as:

{% for user in users %}
    {%- if loop.index >= 10 %}{% break %}{% endif %}
{%- endfor %}

it returns an error: unknown block tag: break

Issue Analytics

  • State:open
  • Created 9 years ago
  • Reactions:17
  • Comments:23 (2 by maintainers)

github_iconTop GitHub Comments

6reactions
kamlekarcommented, Mar 31, 2016

I think this is not an enhancement but a bug.

5reactions
balazjcommented, Jun 23, 2017

Next/Continue would also be nice. Currently same thing can be implemented with IF conditions, but this would produce more readable code.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Control loop - Wikipedia
A control loop is the fundamental building block of industrial control systems. It consists of all the physical components and control functions necessary ......
Read more >
What is a Control Loop and How do I Set it Up? - Watlow
Control loops are systems applied by design engineers in various industrial applications to maintain process variables (PVs) at a desired ...
Read more >
Java - Loop Control - Tutorialspoint
Loop control statements change execution from its normal sequence. When execution leaves a scope, all automatic objects that were created in that scope...
Read more >
What is control loop? | Definition from TechTarget
A control loop is a system made up of all the hardware components and software control functions needed for the measurement and adjustment...
Read more >
Loop Controller - an overview | ScienceDirect Topics
Unlike the traditional PLC, which can handle only the logic functions, the loop controller is designed to handle arithmetic and mathematical functions in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found