xInfo.cut Method

Cuts lines from the Infolog buffer.

Syntax

public container cut(int from, int to)

Run On

Called

Parameters

  • from
    Type: int
    The first line to cut.
  • to
    Type: int
    The last line to cut.

Return Value

Type: container
A container that contains the Infolog lines between the lines specified by the from and to parameters.

Examples

The following example cuts the lines in the Infolog from the line specified by the fromLine value, up to the last line.

private void cutInfolog(int fromLine) 
{ 
    infolog.cut(fromLine+1, Global::infologLine()); 
}

See Also

xInfo Class

xInfo.clear Method

xInfo.copy Method