Hello Guest it is April 28, 2024, 04:09:19 PM

Author Topic: Yet Another Tool Change Script  (Read 545 times)

0 Members and 1 Guest are viewing this topic.

Re: Yet Another Tool Change Script
« Reply #10 on: February 07, 2024, 07:10:49 AM »
Ugh.

every
Code: [Select]
variable = mc.mcGetSomething(inst) call is actually a
Code: [Select]
variable, rc = mc.mcGetSomething(inst) call, where "rc" is the return code, and it should be checked to make sure it is OK or the function should barf.

That means - to do this right - I have to add an error check to every single API call.

Oi. More to follow.