User Tools

Site Tools


reset_reset_the_object_to_the_beginning_of_the_constant_data_.htm
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

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