This is a convenience implementation of the "positive equality test" or "is equal to" operator. This is not the is-equal-to operator, but this method is provided to permit is-equal-to 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.
Code
local(op = \==)
#op('hello!', 'hello!')
Result
true The strings are equal
Use the == method to compare two values.
Code
local(op = \==)
#op('hello!', 'bye!')
Result
false The strings are not equal
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