Examples
This package contains a set of examples acting as a tutorial for SugarCubes programming.
Content
The jar file contains sources and compiled classes. So, you can directly execute examples just by adding the SugarCubesv3.0.3.jar package and the examples.jar package directly in your CLASSPATH.
You access to source files just by typing jar xvf examples.jar.
List of examples
To execute examples, just type java 'name of the example class'.
- HelloWorld (HelloWorld.java)
- AnotherHelloWorld (AnotherHelloWorld.java)
- Sequence (Sequence.java)
- Stops (Stops.java)
- FiniteLoops (FiniteLoops.java)
- InfiniteLoops (InfiniteLoops.java)
- InstantaneousLoops (InstantaneousLoops.java)
- Events (Events.java)
- Parallelism (Parallelism.java)
- Broadcast (Broadcast.java)
- Dynamicity (Dynamicity.java)
- EventsWithAddProgram (EventsWithAddProgram.java)
- EventConfigurations (EventConfigurations.java)
- LocalEventDeclaration (LocalEventDeclaration.java)
- WeakPreemption (WeakPreemption.java)
- ControlByEvent (ControlByEvent.java)
- ExternalActions (ExternalActions.java)
- JavaExpressions (JavaExpressions.java)
- LinkDemo (LinkDemo.java)
- CallBack (CallBack.java)
- HelloCube (HelloCube.java)