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

assertionsEnabled

  • global property
  • new in 1.72
  • •    Added the assertionsEnabled global property to allow turning assertions off. 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.
  • Related: assert, assertionBehavior