Not sure what code you are referring to but I think it is likely the VB code. This is for the m6start.m1s macro, this is a macro that tels Mach what to do when a tool change is requested and has nothing to do with your code or cam programme.
I would imagine your post processor will already have the tool calls in it so likely you will not have to do anything to the post processor. All that is required in the code is the tool call, for example T0101 or T0356. The first two numbers of a tool call (In Turn) are the tool number. The second two numbers are the offset number and that is what you have in the ToolTable.
Hood