User Tools

Site Tools


init_initialize_the_stepcustomclass_object_.htm
Navigation:  ABC Library Reference > StepCustomClass > StepCustomClass Methods >====== Init (initialize the StepCustomClass object) C6H0009.jpg ====== Previous pageReturn to chapter overviewNext page

Init( controls )

blk2blue.jpg

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

init_initialize_the_stepcustomclass_object_.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1