Wiris

Documentation / CalcMe

  • Demos
  • Visit our website
  • Contact us
  • MathType

    • WirisQuizzes

      • LearningLemur

        • CalcMe

          • MathPlayer

            • Store FAQ

              • VPAT for the electronic documentation

                • MathFlow

                  • BF FAQ

                    • Miscellaneous

                      • Wiris Integrations

                        • Home
                        • CalcMe
                        • Menu reference list
                        • Programming
                        • Programming

                        Loop statements

                        Reading time: 1min
                        Loop statements
                        for statement. Write quickly a loop that needs to be run a specific number of times.
                        while statement repeats the code block until the condition is not satisfied. Be sure that the condition does not hold in some cases. Otherwise, the code will run infinitely.
                        repeat statement. While the condition does not hold, duplicate the code block. Again, be sure that the condition is satisfied sometimes.

                        Was this article helpful?

                        Give feedback about this article

                        Related Articles

                        • Conditional statements
                        • Example
                        • Debugging (what to do if it isn't working)
                        • Range notation

                        Empowering STEM education

                        MathType

                        • Office Tools
                        • LMS
                        • XML
                        • HTML

                        WirisQuizzes

                        Learning Lemur

                        Integrations

                        Solutions

                        • Education
                        • Publishing houses – platforms and interactive
                        • Publishing houses – Print and digital
                        • Technical writers

                        Pricing

                        Downloads

                        Blog

                        • Success stories

                        About us

                        • Careers
                        • Partnership

                        Contact Us

                        Contact Sales

                        European union (European Regional Development Fund) and 1EdTech (TrustEd Apps Certified)
                        • Cookie Policy
                        • Terms of Use
                        • Privacy Policy / GDPR
                        • Student Data Privacy
                        • Compliance
                        • Cookie Settings

                        © Wiris 2026

                        Expand