function

Syntax

function <function_name> [<parm1>[<parmn>]] {

statement 1;

...

statement n;

}

Type

SDC definitions

Parameters

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.

Description

Example

function fred day month year {
        load_virtual_display 1 "$day."
        load_virtual_display 2 "$month."
        load_virtual_display 3 "$year."
}