Feedback

  • Contents
  • Index
 

MIC is Object Valid

This MIC tool determines if an MIC Object is valid. If you are unsure if an object is valid, use this tool.  In some cases, a reply to a message may or may not be going to a valid user object.  An invalid object would be one that does not exist, or that has been deallocated.

Most typically this is used to test an input object passed in to a subroutine. If it is a null object, then it is invalid.  

Inputs

MIC Object

This required string (moMicObject) can be any MIC object name.

Outputs

Is Valid

This boolean (bIsValid) is set to true if the specified object is valid and it is set to false if it is invalid.

Exit Code

An Exit Code (iExitCode) of 0 (zero) indicates success and a non-zero code indicates an error or other condition about the results of this tool step.

Exit Text

The exit text string (sExitText) corresponds to the Exit Code. When the Exit Code is 0, the Exit Text is "Success".

Exit Paths

Success

If it validates a legitimate object.

Failure

If the MIC object is out of scope or an invalid name.

Related Topics

MIC Load Object

MIC Object From String

MIC Object to String