Download Jeliot 3 - User Guide

Transcript
Button
Step
Play
Pause
Rewind
Animation Speed
Table 3: Animation toolbar commands.
Function
Proceeds the animation with one step with the set speed.
Proceeds the animation continuously with the set speed untill
Pause is clicked or the program ends.
Pauses running animation to situation when you click the button.
Takes you back to the beginning of program.
Tune the speed of animation. Left is slower, right is faster. You
can also control the speed in steps from the Animation menu.
Figure 7: Output box, clear option in menu and value-grabbing hand.
3.9 Error Display
In case there is an error in the code, in most cases Jeliot will tell you about it when you click on Play or Step
for the first time. If you are trying to use an uninitialized variable, the animation will proceed normally until
the point of error, where it is stopped with en error message.
A notification on error will be displayed on animation frame. Clicking OK will take you back to animation
screen, but you cannot proceed with the animation untill you correct the faulty code. That is still your job,
Jeliot will not (yet) do that for you.
4 Java Issues
There are two incompatibilities between Jeliot and Java.
1. All classes must be in a single source file.
2. For I/O, import the package jeliot.io.*; which provides the methods
void Output.println(), int Input.readInt(), double Input.readDouble(),
char Input.readChar(), String Input.readString(). Standard output is also already
supported.
12