This documentation is archived and is not being maintained.
xInfo.cut Method [AX 2012]
Cuts lines from the Infolog buffer.
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.
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());
}