Output:
    [output goes here]
    1
    2
    3

About These Interactive Demos

These examples run in a Docker container on an AWS Linux (Debian) server.  The examples were written in custom pseudocode specific to the uCalc documentation, and converted to C#, C++, and VB using uCalc Transformer.

Keep Your Code Lightweight

Please avoid processor‑intensive or long‑running code that could slow things down for others running these examples. Extremely long operations may be stopped automatically.

For Best Performance

The online environment is designed to help you explore uCalc syntax and concepts. For real speed, download uCalc and run it locally on your own machine. You can also host uCalc on your own Linux server if you prefer.

Access and Linking

These demos are intended to be accessed from uCalc.com. Please do not link directly to the interactive sandbox from outside the uCalc site.

Privacy Notice

Code you type or modify here is not private. Treat anything you enter as publicly visible and avoid including sensitive or confidential information.