This is a convenience implementation of the "greater than" operator. This is not the greater-than operator, but this method is provided to permit greater-than operations to be passed as values and later invoked for whatever necessary reason.
Usually, this method would be looked up using the escape method operator before use.
if(Left_Parameter > Right_Parameter)
...
/if
Use the > method to compare two values. The method is first obtained using the \ operator and assigned to a value. It is then invoked to perform the actual comparison.
Code
local(op = \>)
#op(2, 6)
Result
false 2 is not greater than 6
Use the > method to compare two values. The method is first obtained using the \ operator and assigned to a value. It is then invoked to perform the actual comparison.
Code
local(op = \>)
#op(6, 2)
Result
true 6 is greater than 2
Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.
©LassoSoft Inc 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft
Recent Comments