function <function_name> [<parm1>[<parmn>]] {
statement 1;
...
statement n;
}
SDC definitions
Specifies functions within an SDC definition file.
This definition is called by the state table to execute the ADSI statements contained in the function.
This statement is not equivalent to any Bellcore defined ADSI function.
Also see Defining SDC functions.
You must separate the parameters using at least one blank character; for example:
load_virtual_display 1 "DAY= $day : MONTH=$month"
function fred day month year {
load_virtual_display 1 "$day."
load_virtual_display 2 "$month."
load_virtual_display 3 "$year."
}