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

booleanComparison

  • global property
  • new in 1.64
  • valid settings: Normal, Strict, Lenient
  • When set to “Normal” (the default), the values Yes and On will compare as equal to True (or each other) and Off and No to compare as equal to False. Although Empty is treated as a valid boolean value (equivalent to False) it will not compare as equal to False. If the booleanComparison is set to "Strict", the values Yes, No, On, and Off will compare as strings, and thus will not be equal to True or False. If the booleanComparison is set to "Lenient", any value that evaluates to the strings "Yes", "No",  "On", or "Off" will be treated as booleans for purposes of equality testing with other booleans.

        put Yes is true -- true unless the booleanComparison is Strict

         put "off" = false -- true if the booleanComparison is Lenient