GPP2 supports three special new functions that return the value of any “tool” variable, of the first, last
or next tool.
FIRST_TOOL (<tool-variable>) // first tool in run
LAST_TOOL (<tool-variable>) // last tool in run
NEXT_TOOL (<tool-variable>) // next tool
NEXT_PROC_TOOL (<tool-variable>) // tool of next procedure
The tool variable may be any of the system variables used in the CHANGE TOOL block (e.g.,
TOOL_NUM or TOOL_NAME).