Programming Guide : Writing Scripts and Procedures : Scripts : User Class Scripts
 
Share this page          
User Class Scripts
A user class script contains methods that you can invoke to use with variables defined for a user class. The syntax for this type of script is:
[initialize =
declare
         localprocedureforwardreferences
enddeclare]
{method methodname [([parameterlist])] =
[declare
      localvariablelist
enddeclare
begin
     statementlist
end [;]}
{localprocedure[;]}
methodname
Identifies a method defined for the user class that the script uses. You cannot define a method twice in a user class script. For more information about methods, see the Language Reference Guide online help.
For more information about using methods in a user class script, see Working with Classes.