Less Than Or Equal To

Tinderbox Icon


$DateAttribute <= "date"

$DateAttribute ≤ "date"

Gathers all notes whose DateAttribute value is before or on the given date. The special 'never' date returned true up until v2.4 , since which the value is false — i.e. a the left-side date cannot be less than 'never'.

Using the '<=' syntax rather than '≤' is recommended if content is to exported to the web as not all fonts include the latter special character; the Unicode address simply says where a glyph is stored in the font, it does not dictate whether it exists in a given font.


$NumberAttribute <= number

$NumberAttribute ≤ number

Gathers all notes whose NumberAttribute value is smaller than or equal to the given number.

Using the '<=' syntax rather than '≤' is recommended if content is to exported to the web as not all fonts include the latter special character; the Unicode address simply says where a glyph is stored in the font, it does not dictate whether it exists in a given font.


Boolean. A 'true' is always greater than 'false'.

Color. Tinderbox does not perform greater/less than comparisons on Color-type attributes.

Sets. Tinderbox does not perform greater/less than comparisons on Set-type attributes.

String. A lexical comparison is done of each string character by character, i.e. the ASCII value of each first character, then each second character, etc. Uppercase characters < lowercase < numbers. For other characters , accents, etc, comparisons are likely to not meet linguistic expectation as the values will be based on Unicode sort order. Thus

"dog" > "cat"

"dog" > "Dog"

"dogs" > "dog"

"dogs" > "dogma"

"dogs" < "døg" NOTE!


Up: Basic Comparison Operators
Previous: Less Than   

[Last updated: 14 Dec 2009, using v5.0]

Google search aTbRef for:  

Licensed under Creative Commons Attribution-Noncommercial-Share Alike 3.0 License
[See aTbRef CC licence Attribution/Waiver info info]

Creative Commons License

Made with Tinderbox