Skip to content

Home

Introduction

Development

IDEs

Services

Service manager

API Explorer

examples package: Gloop steps

Gloop steps are statements in Gloop. There are multiple types of Gloop steps, each used for a specific purpose. The examples package provides services demonstrating the various ways each of the basic Gloop steps could be used.

Try it!

Under the Coder Navigator, expand the examples package entry and navigate to the code folder. Afterwards, look for the basicSteps package. This package contains the files shown below:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
examples
├── ...
└── code
    └── ...
    └── basicSteps
        ├── BlockStep.gloop
        ├── ConcurrentStep.gloop
        ├── ForkStep.gloop
        ├── GloovyStep.gloop
        ├── IterateStep.gloop
        ├── MapStep.gloop
        ├── RandomStep.gloop
        └── WhileBreakStep.gloop

Each service is named after the step it demonstrates the usage of. Simply run these services to familiarize yourself with the different step types; line comments are provided for further explanation.

No BreakStep.gloop?

The break step example is already included in the WhileBreakStep.gloop service as by itself, a break step cannot demonstrate its intended use.