Listing 2. Source code for the program named Alice0175b.

Alice0175b's Code

Created by: Dick Baldwin

world

Events

When the world starts
Do:
world.main ( );


Methods

  public void main ( ) {
    
       // Copyright 2007, R.G.Baldwin
  // Illustrates an extremely simple counting loop.
  doInOrder {
       // Pause for one second.
  wait( 1 second );
  }
  for (int index=0; index< 6 times ; index++) {
       ground .say( ( The value of index is: + ( index .toString() ) ) ); duration = 2 seconds
  }
  ground .say( goodbye );
  }