clock.now ()
» 11/11/91; 7:51 PM
Here we're calling the built-in verb clock.now; the result of the call is the value returned by the verb. Note that the parenthesis notation must be used to indicate that we are making a call to the verb, even though it takes no parameters.
on addThree (n1, n2, n3) {
return (n1 + n2 + n3)};
total = addThree (1, 2, 3)
» 6
This example illustrates the correspondence between the parameter list provided when calling a script and the parameter declaration in the script's defining on statement.