beginProcess method

bool beginProcess(
  1. dynamic line,
  2. ClipParam param,
  3. ParamInteger err
)

Implementation

bool beginProcess( dynamic line, ClipParam param, ParamInteger err ){
	if( line is ClipLine ){
		_procLine = line.dup();

		err.set( ClipGlobal.noErr );
		_procLine!.beginGetLine();
		return true;
	}

	_procLine = ClipLine( param.lineNum() );

	if( err.set( _procLine!.regString( param, line, _statMode != _statModeRegistering ) ).val() == ClipGlobal.noErr ){
		_procLine!.beginGetLine();
		return true;
	}

	return false;
}