Sheerpower Logo

Purpose of This Tutorial Section and Introduction to the REPL


Everything in this section assumes that you have already installed Sheerpower.

To use these post-install tutorials, you will work with the SPDEV IDE that was installed on your desktop or Visual Studio Code with the Sheerpower extensions installed. If you need help getting started, see this tutorial.

Note: The online Sheerpower tutorials restrict interactive use of certain features, since misuse could cause the server to become unresponsive for other users. This section is intended for developers who have installed Sheerpower locally, where they can safely explore and use all features without such restrictions.

The Sheerpower REPL — Read–Eval–Print Loop

You can open the Sheerpower console in several ways: by starting SPDEV, using Visual Studio Code, or typing sp4gl at the Windows command prompt. This launches the Sheerpower console, which functions like a REPL (Read–Eval–Print Loop) found in many other programming languages. A REPL is an interactive programming environment where you enter code, have it evaluated immediately, and see the results printed right away. In Sheerpower, you can also enter multiple statements on a single line by separating them with a backslash \.


sp4gl Sheerpower V0nn.0nn.nn >>> a=355 >>> b=113 >>> a/b 3.1415929203539823 >>> >>> a=355\b=113\print a/b 3.1415929203539823 >>>
Hide Description

    

       


      

Enter or modify the code below, and then click on RUN

Looking for the full power of Sheerpower?
Check out the Sheerpower website. Free to download. Free to use.