メインコンテンツまでスキップ
バージョン:25.4

assertionsEnabled

Global Property (Added in SenseTalk 1.72)

Assertions can be turned off using the assertionsEnabled global property. If assertions are disabled (assertionsEnabled = False), SenseTalk will skip over assert commands altogether, saving the time that would be required to evaluate the expression(s) and test the result. In cases where an assertion includes something like an imageFound() call, this could be significant.

Further Reading

Resources in our other reference manuals.

Related terms in the SenseTalk Dictionary.