Made to Order Software Corporation Logo

Less Than

SWF Action
Action Category: 
Comparisons
Action Details: 
0
Action Identifier: 
15
Action Structure: 
<n.a.>
Action Length: 
0 byte(s)
Action Stack: 
pop 2 (a), push 1 (b)
Action Operation: 
a1 := pop();
a2 := pop();
r := a2 < a1;
push(r);
Action Flash Version: 
4

Pop two values, compare them for inequality and put the Boolean result back on the stack.

Other comparison operators:

  • Less Than or Equal (n2 <= n1)
Swap + Less Than + Logical Not
  • Greater Than or Equal (n2 >= n1)
Less Than + Logical Not
  • Greater Than (n2 > n1)
Swap + Less Than

Note that this operator should only be used in version 4. Since version 5, it is better to use Less Than (typed) or Greater Than (typed).

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.