Script objects are user-defined objects. Table A-11 summarizes the syntax for defining script objects in AppleScript. For more information about script objects, see Script Objects
Table A-11 Script objects
Script object element
Syntax
script [ scriptObjectVariable ] [(property | prop) propertyLabel : expression ]... [ handlerDefinition ]... [ statement ]... end [ script ]
continue commandStatement