LassoScript Utility
Basics Browse Detail

[Compare_GreaterThan]

Tag Link [Compare_GreaterThan] Category Comparator
Type Substitution Source Available Yes
Support Preferred Version 8.0
Change Unchanged Data Source Any
Output Type Integer Security None
Implementation LassoScript Sets Lasso 8.5, Lasso 8.0

Description

[Compare_GreaterThan] can be used to sort an array or other compound data type in the ->SortWith member tag. The largest value will be sorted to the front of the array.

[Compare_GreaterThan] can also be used with [Match_Comparator] to return elements from a compound data type that are greater than the specified value. This comparator can also be triggered using a -GT keyword.

Syntax

[$Array->(Match_Comparator: \Compare_GreaterThan, -RHS='Value')]

[$Array->(Match_Comparator: -GT, 'Value')]

Parameters

No Parameters Required.

Examples

See the Lasso 8 Language Guide for examples of how to use this tag.