Goal (sport) the ball can be kicked either under the crossbar for a goal, or over the crossbar between the posts for a point. The vertical supports are usually called "goal posts" and the horizontal top is usually called the "crossbar". A goal in these games normally requires that the ball or puck be sent between the posts, under the crossbar and completely behind the goal line. In Australian rules football, there is no crossbar but four uprights instead. In netball, a single post at each end of the court supports a horizontal hoop that the ball must fall through. In basketball,
For loop for counter in range(1, 6): # range(1, 6) gives values from 1 to 5 inclusive (but not 6) repeat with i from 1 to 5 end repeat You can also iterate through a list of items, similar to what you can do with arrays in other languages: repeat with i in x end repeat You may also use to exit a loop at any time. Unlike other languages, AppleScript does not currently have any command to continue to the next iteration of a loop. for i = start, stop, interval do end So, this code for i = 1, 5,