sentences:  -- repeat the block 2000 times, i gets all values from 1 to 2000
  repeat with i from 1 to 2000
  end repeat
  
  -- repeat the block 4 times, i gets values 100, 75, 50 and 25
  repeat with i from 100 to 25 by -25
  end repeat
  Enumerate a list.On each iteration set the loopVariable to a new item in the given list
  set total to 0
  end repeat
  
  One important variation on this block structure is in the form of on —end ... blocks that are used to define "handlers" (function-like subroutines).Handlers begin with "on functionName()" and ending with "end functionName", and are not executed as part of the normal script flow unless called from somewhere in the script.