Init (initialize the StepCustomClass object) 


Top  Previous  Next

 

Init( controls )

Init

Initializes the StepCustomClass object.

controls

An integer constant, variable, EQUATE, or expression that contains several important pieces of information for the StepCustomClass object.

The Init method initializes the StepCustomClass object.

The controls identifies for the StepCustomClass object:

·

the case sensitivity

·

the direction of the sort (ascending or descending)

Implementation:

The Init method sets the value of the Controls property. Set the value of the Controls property by adding together the applicable EQUATEs declared in BROWSE.INC as follows:

ITEMIZE,PRE(ScrollSort)

CaseSensitive  EQUATE(8)    !include abcdefghijklmnopqrstuvwxyz

Descending   EQUATE(16)     !the sort is descending

END

Example:

MyStepCustomClass.Init(ScrollSort:CaseSensitive)

!program code

MyStepCustomClass.Kill

See Also:     StepClass.Controls