Routines (alphabetical) > Routines: F > FUNCTION

FUNCTION

Syntax | Version History

The FUNCTION statement defines a function. A function is a program unit containing one or more IDL statements that returns a value.

Note: For information on using the FUNCTION statement, see Defining a Function.

Syntax

FUNCTION Function_Name, parameter1, ..., parametern

Note: IDL does not allow a function name to be the same as an object class name.

Version History

Original

Introduced