This function checks whether the model definition has a main scripting block.

Return Value

True if the model definition has a main scripting block defined.

Namespace: ILOG.OPL
Assembly: oplall (in oplall.dll)

Syntax

C#
public bool hasMain()

See Also