Navigation:  ABC Library Reference > ConstantClass > ConstantClass Methods >====== Reset (reset the object to the beginning of the constant data) C6H0009.jpg ====== Previous pageReturn to chapter overviewNext page

Reset

blk2blue.jpg

The Reset method resets internal counters to start processing constant data from the beginning.

Implementation:

The Set, Next(FILE) and Next(QUEUE) methods call the Reset method. Typically you will not call this method.

Example:

ConstantClass.Set PROCEDURE(*STRING Src)

CODE

DISPOSE(SELF.Str)

SELF.Str &= NEW STRING(LEN(Src))

SELF.Str = Src

SELF.SourceSize=LEN(SELF.Str)

SELF.Reset