GetLastError

 

Name

 

            GetLastError

 

Type

 

            Read

 

When to use it

 

            During the OnFinish event.

 

Prototype

 

GetLastError(

            ErrorCode : long /*[out]*/,

            AdditionalInfo1: long/*[out]*/,

            AdditionalInfo2: long/*[out]*/);

 

Explanations

 

            Returns the last error .

 

Possible values for parameters:

 

ErrorCode AdditionalInfo1 AdditionalInfo2
0 (OK) 0 0
1 (Part clockwise) part index 0
2 (Stock clockwise) stock index 0
3 (Part's hole clockwise) part index hole index
4 (Stock's hole clockwise) stock index hole index

 

 

See also