Compilation Order

The Siebel Compiler compiles Siebel VB functions and procedures in alphabetical order as they occur in the object definition. If a function or procedure calls another function or procedure that is not defined, then the compiler creates an error message that is similar to the following:

function_name Is An Unknown Function

To avoid this error, you can use the Declare statement to declare the function or procedure in the declarations section of the general section.

Siebel eScript does not require you to declare a function before you use it.

For more information, see Siebel VB Language Reference.