examples package: Gloop steps
Gloop steps are analogous to Java statements. There are multiple
types of Gloop steps, each used for a specific purpose. The examples package provides
services demonstrating the various ways in which each of the basic Gloop steps can be used.
Related articles
Please see the following articles for more information:
Try it!
In the Navigator, expand the examples package and navigate to the
code folder, then expand the basicSteps package. This package contains the files
as shown below:
1 2 3 4 5 6 7 8 9 10 11 12 13 | |
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 explanation1.
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.
-
Open the service file to see comments. Make sure comments are also not hidden. ↩