Less Than

Tinderbox Icon


$DateAttribute < "date"

Gathers all notes whose $DateAttribute value is before the given date. The left-side date cannot be less than 'never'.


$NumberAttribute < number

Gathers all notes whose $NumberAttribute value is smaller than the given number.


Other data types...

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: Greater Than Or Equal To  Next: Less Than Or Equal To 

A Tinderbox Reference File : Objects & Concepts : Basic Comparison Operators : Less Than aTbRef Site Map


[Last updated: 6 Feb 2012, using v5.10.1]

Google search aTbRef for:  

Creative Commons Licence

aTbRef by Mark Anderson is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.
[See aTbRef CC licence Attribution & Waiver info]

Made with Tinderbox