<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.m2osw.com"  xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>Made to Order Software Corporation - compute</title>
 <link>http://www.m2osw.com/taxonomy/term/701/all</link>
 <description></description>
 <language>en</language>
<item>
 <title>XOr</title>
 <link>http://www.m2osw.com/swf_action_xor</link>
 <description>&lt;fieldset class=&quot;fieldgroup group-action&quot;&gt;&lt;legend&gt;SWF Action&lt;/legend&gt;&lt;div class=&quot;field field-type-content-taxonomy field-field-swf-action-type&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Action Category:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    Logical and Bitwise        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-number-integer field-field-swf-typed-action&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Action Details:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    0        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-number-integer field-field-swf-action-identifier&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Action Identifier:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    98        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-text field-field-swf-action-def&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Action Structure:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    &lt;div&gt;&lt;em&gt;&amp;lt;n.a.&amp;gt;&lt;/em&gt;&lt;/div&gt;        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-number-integer field-field-swf-action-len&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Action Length:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    0 byte(s)        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-text field-field-swf-action-stack&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Action Stack:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    pop 2 (i), push 1 (i)        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-text field-field-swf-action-operation&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Action Operation:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    &lt;div&gt;i1 := pop();&lt;br /&gt;
i2 := pop();&lt;br /&gt;
r := i2 ^ i1;&lt;br /&gt;
push(r);&lt;/div&gt;        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-number-integer field-field-swf-tag-version&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Action Flash Version:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    5        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-nodereference field-field-see-also&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;See Also:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    &lt;a href=&quot;/swf_action_and&quot;&gt;And&lt;/a&gt;        &lt;/div&gt;
              &lt;div class=&quot;field-item even&quot;&gt;
                    &lt;a href=&quot;/swf_action_logicaland&quot;&gt;Logical And&lt;/a&gt;        &lt;/div&gt;
              &lt;div class=&quot;field-item odd&quot;&gt;
                    &lt;a href=&quot;/swf_action_logicalnot&quot;&gt;Logical Not&lt;/a&gt;        &lt;/div&gt;
              &lt;div class=&quot;field-item even&quot;&gt;
                    &lt;a href=&quot;/swf_action_logicalor&quot;&gt;Logical Or&lt;/a&gt;        &lt;/div&gt;
              &lt;div class=&quot;field-item odd&quot;&gt;
                    &lt;a href=&quot;/swf_action_or&quot;&gt;Or&lt;/a&gt;        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;/fieldset&gt;
&lt;p&gt;Pop two integers, compute the bitwise XOR and push the result back on the stack.&lt;/p&gt;
&lt;p&gt;This operator is used to generate a bitwise NOT with an &lt;em&gt;immediate&lt;/em&gt; value of -1. (There is not bitwise NOT action.)&lt;/p&gt;

</description>
 <comments>http://www.m2osw.com/swf_action_xor#comments</comments>
 <category domain="http://www.m2osw.com/taxonomy/term/579">Action</category>
 <category domain="http://www.m2osw.com/taxonomy/term/692">Logical and Bitwise</category>
 <pubDate>Tue, 12 Jan 2010 06:37:49 +0000</pubDate>
 <dc:creator>Alexis Wilke</dc:creator>
 <guid isPermaLink="false">426 at http://www.m2osw.com</guid>
</item>
<item>
 <title>String Equal</title>
 <link>http://www.m2osw.com/swf_action_stringequal</link>
 <description>&lt;fieldset class=&quot;fieldgroup group-action&quot;&gt;&lt;legend&gt;SWF Action&lt;/legend&gt;&lt;div class=&quot;field field-type-content-taxonomy field-field-swf-action-type&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Action Category:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    Comparisons        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-number-integer field-field-swf-typed-action&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Action Details:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    0        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-number-integer field-field-swf-action-identifier&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Action Identifier:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    19        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-text field-field-swf-action-def&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Action Structure:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    &lt;div&gt;&lt;em&gt;&amp;lt;n.a.&amp;gt;&lt;/em&gt;&lt;/div&gt;        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-number-integer field-field-swf-action-len&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Action Length:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    0 byte(s)        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-text field-field-swf-action-stack&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Action Stack:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    pop 2 (s), push 1 (b)        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-text field-field-swf-action-operation&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Action Operation:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    &lt;div&gt;s&lt;sub&gt;1&lt;/sub&gt; := pop();&lt;br /&gt;
s&lt;sub&gt;2&lt;/sub&gt; := pop();&lt;br /&gt;
r := s&lt;sub&gt;2&lt;/sub&gt; == s&lt;sub&gt;1&lt;/sub&gt;;&lt;br /&gt;
push(r);&lt;/div&gt;        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-number-integer field-field-swf-tag-version&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Action Flash Version:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    4        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-nodereference field-field-see-also&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;See Also:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    &lt;a href=&quot;/swf_action_equal&quot;&gt;Equal&lt;/a&gt;        &lt;/div&gt;
              &lt;div class=&quot;field-item even&quot;&gt;
                    &lt;a href=&quot;/swf_action_equaltyped&quot;&gt;Equal (typed)&lt;/a&gt;        &lt;/div&gt;
              &lt;div class=&quot;field-item odd&quot;&gt;
                    &lt;a href=&quot;/swf_action_strictequal&quot;&gt;Strict Equal&lt;/a&gt;        &lt;/div&gt;
              &lt;div class=&quot;field-item even&quot;&gt;
                    &lt;a href=&quot;/swf_action_logicalnot&quot;&gt;Logical Not&lt;/a&gt;        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;/fieldset&gt;
&lt;p&gt;Pops two strings, compute the equality and put the Boolean result back on the stack.&lt;/p&gt;
&lt;p class=&quot;rtecenter&quot;&gt;&lt;em&gt;&lt;strong&gt;IMPORTANT&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://www.m2osw.com/swf_action_stringequal&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.m2osw.com/swf_action_stringequal#comments</comments>
 <category domain="http://www.m2osw.com/taxonomy/term/579">Action</category>
 <category domain="http://www.m2osw.com/taxonomy/term/691">Comparisons</category>
 <pubDate>Fri, 08 Jan 2010 11:38:25 +0000</pubDate>
 <dc:creator>Alexis Wilke</dc:creator>
 <guid isPermaLink="false">406 at http://www.m2osw.com</guid>
</item>
<item>
 <title>Ord (multi-byte)</title>
 <link>http://www.m2osw.com/swf_action_ordmb</link>
 <description>&lt;fieldset class=&quot;fieldgroup group-action&quot;&gt;&lt;legend&gt;SWF Action&lt;/legend&gt;&lt;div class=&quot;field field-type-content-taxonomy field-field-swf-action-type&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Action Category:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    String and Characters        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-number-integer field-field-swf-typed-action&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Action Details:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    (multi-byte)        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-number-integer field-field-swf-action-identifier&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Action Identifier:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    54        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-text field-field-swf-action-def&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Action Structure:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    &lt;div&gt;&lt;em&gt;&amp;lt;n.a.&amp;gt;&lt;/em&gt;&lt;/div&gt;        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-number-integer field-field-swf-action-len&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Action Length:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    0 byte(s)        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-text field-field-swf-action-stack&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Action Stack:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    pop 1 (s), push 1 (i)        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-text field-field-swf-action-operation&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Action Operation:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    &lt;div&gt;s&lt;sub&gt;1&lt;/sub&gt; := pop();&lt;br /&gt;
r := s&lt;sub&gt;1&lt;/sub&gt;[0];&lt;br /&gt;
push(r);&lt;/div&gt;        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-number-integer field-field-swf-tag-version&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Action Flash Version:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    4        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-nodereference field-field-see-also&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;See Also:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    &lt;a href=&quot;/swf_action_chr&quot;&gt;Chr&lt;/a&gt;        &lt;/div&gt;
              &lt;div class=&quot;field-item even&quot;&gt;
                    &lt;a href=&quot;/swf_action_chrmb&quot;&gt;Chr (multi-byte)&lt;/a&gt;        &lt;/div&gt;
              &lt;div class=&quot;field-item odd&quot;&gt;
                    &lt;a href=&quot;/swf_action_ord&quot;&gt;Ord&lt;/a&gt;        &lt;/div&gt;
              &lt;div class=&quot;field-item even&quot;&gt;
                    &lt;a href=&quot;/swf_action_substring&quot;&gt;SubString&lt;/a&gt;        &lt;/div&gt;
              &lt;div class=&quot;field-item odd&quot;&gt;
                    &lt;a href=&quot;/swf_action_substringmb&quot;&gt;SubString (multi-byte)&lt;/a&gt;        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;/fieldset&gt;
&lt;p&gt;Pops one string, compute the multi-byte value of its first character and put it on the stack.&lt;/p&gt;
&lt;p&gt;In Flash, multi-byte characters are limited to 16 bits (UCS-2).&lt;/p&gt;

</description>
 <comments>http://www.m2osw.com/swf_action_ordmb#comments</comments>
 <category domain="http://www.m2osw.com/taxonomy/term/693">String and Characters</category>
 <pubDate>Sun, 03 Jan 2010 04:20:45 +0000</pubDate>
 <dc:creator>Alexis Wilke</dc:creator>
 <guid isPermaLink="false">379 at http://www.m2osw.com</guid>
</item>
<item>
 <title>Ord</title>
 <link>http://www.m2osw.com/swf_action_ord</link>
 <description>&lt;fieldset class=&quot;fieldgroup group-action&quot;&gt;&lt;legend&gt;SWF Action&lt;/legend&gt;&lt;div class=&quot;field field-type-content-taxonomy field-field-swf-action-type&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Action Category:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    String and Characters        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-number-integer field-field-swf-typed-action&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Action Details:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    0        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-number-integer field-field-swf-action-identifier&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Action Identifier:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    50        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-text field-field-swf-action-def&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Action Structure:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    &lt;div&gt;&lt;em&gt;&amp;lt;n.a.&amp;gt;&lt;/em&gt;&lt;/div&gt;        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-number-integer field-field-swf-action-len&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Action Length:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    0 byte(s)        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-text field-field-swf-action-stack&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Action Stack:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    pop 1 (s), push 1 (i)        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-text field-field-swf-action-operation&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Action Operation:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    &lt;div&gt;s&lt;sub&gt;1&lt;/sub&gt; := pop();&lt;br /&gt;
r = s&lt;sub&gt;1&lt;/sub&gt;[0];&lt;br /&gt;
push(r);&lt;/div&gt;

        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-number-integer field-field-swf-tag-version&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Action Flash Version:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    4        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-nodereference field-field-see-also&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;See Also:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    &lt;a href=&quot;/swf_action_chr&quot;&gt;Chr&lt;/a&gt;        &lt;/div&gt;
              &lt;div class=&quot;field-item even&quot;&gt;
                    &lt;a href=&quot;/swf_action_chrmb&quot;&gt;Chr (multi-byte)&lt;/a&gt;        &lt;/div&gt;
              &lt;div class=&quot;field-item odd&quot;&gt;
                    &lt;a href=&quot;/swf_action_ordmb&quot;&gt;Ord (multi-byte)&lt;/a&gt;        &lt;/div&gt;
              &lt;div class=&quot;field-item even&quot;&gt;
                    &lt;a href=&quot;/swf_action_substring&quot;&gt;SubString&lt;/a&gt;        &lt;/div&gt;
              &lt;div class=&quot;field-item odd&quot;&gt;
                    &lt;a href=&quot;/swf_action_substringmb&quot;&gt;SubString (multi-byte)&lt;/a&gt;        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;/fieldset&gt;
&lt;p&gt;Pop one string, compute the ASCII value of its first character and put it back on the stack.&lt;/p&gt;
&lt;p&gt;This function does not take &lt;abbr class=&quot;mo-glossary mo-glossary-abbr&quot;  title=&quot;Unicode Transformation Format&quot;&gt;UTF&lt;/abbr&gt;-8 in account. In other words, it can be used to parse a string byte per byte. To get the UTF-8 value of characters, use the &lt;a href=&quot;/swf_action_ordmb&quot;&gt;&lt;strong&gt;Ord (multi-byte)&lt;/strong&gt;&lt;/a&gt; instead.&lt;/p&gt;

</description>
 <comments>http://www.m2osw.com/swf_action_ord#comments</comments>
 <category domain="http://www.m2osw.com/taxonomy/term/693">String and Characters</category>
 <pubDate>Sun, 03 Jan 2010 03:58:25 +0000</pubDate>
 <dc:creator>Alexis Wilke</dc:creator>
 <guid isPermaLink="false">378 at http://www.m2osw.com</guid>
</item>
<item>
 <title>Or</title>
 <link>http://www.m2osw.com/swf_action_or</link>
 <description>&lt;fieldset class=&quot;fieldgroup group-action&quot;&gt;&lt;legend&gt;SWF Action&lt;/legend&gt;&lt;div class=&quot;field field-type-content-taxonomy field-field-swf-action-type&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Action Category:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    Logical and Bitwise        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-number-integer field-field-swf-typed-action&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Action Details:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    0        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-number-integer field-field-swf-action-identifier&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Action Identifier:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    97        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-text field-field-swf-action-def&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Action Structure:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    &lt;div&gt;&lt;em&gt;&amp;lt;n.a.&amp;gt;&lt;/em&gt;&lt;/div&gt;        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-number-integer field-field-swf-action-len&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Action Length:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    0 byte(s)        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-text field-field-swf-action-stack&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Action Stack:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    pop 2 (i), push 1 (i)        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-text field-field-swf-action-operation&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Action Operation:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    &lt;div&gt;i&lt;sub&gt;1&lt;/sub&gt; := pop();&lt;br /&gt;
i&lt;sub&gt;2&lt;/sub&gt; := pop();&lt;br /&gt;
r := i&lt;sub&gt;2&lt;/sub&gt; | i&lt;sub&gt;1&lt;/sub&gt;;&lt;br /&gt;
push(r);&lt;/div&gt;        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-number-integer field-field-swf-tag-version&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Action Flash Version:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    5        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-nodereference field-field-see-also&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;See Also:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    &lt;a href=&quot;/swf_action_and&quot;&gt;And&lt;/a&gt;        &lt;/div&gt;
              &lt;div class=&quot;field-item even&quot;&gt;
                    &lt;a href=&quot;/swf_action_logicaland&quot;&gt;Logical And&lt;/a&gt;        &lt;/div&gt;
              &lt;div class=&quot;field-item odd&quot;&gt;
                    &lt;a href=&quot;/swf_action_logicalnot&quot;&gt;Logical Not&lt;/a&gt;        &lt;/div&gt;
              &lt;div class=&quot;field-item even&quot;&gt;
                    &lt;a href=&quot;/swf_action_logicalor&quot;&gt;Logical Or&lt;/a&gt;        &lt;/div&gt;
              &lt;div class=&quot;field-item odd&quot;&gt;
                    &lt;a href=&quot;/swf_action_xor&quot;&gt;XOr&lt;/a&gt;        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;/fieldset&gt;
&lt;p&gt;Pop two integers, compute the bitwise OR and push the result back on the stack.&lt;/p&gt;

</description>
 <comments>http://www.m2osw.com/swf_action_or#comments</comments>
 <category domain="http://www.m2osw.com/taxonomy/term/692">Logical and Bitwise</category>
 <pubDate>Sun, 03 Jan 2010 03:29:36 +0000</pubDate>
 <dc:creator>Alexis Wilke</dc:creator>
 <guid isPermaLink="false">377 at http://www.m2osw.com</guid>
</item>
<item>
 <title>Modulo</title>
 <link>http://www.m2osw.com/swf_action_modulo</link>
 <description>&lt;fieldset class=&quot;fieldgroup group-action&quot;&gt;&lt;legend&gt;SWF Action&lt;/legend&gt;&lt;div class=&quot;field field-type-content-taxonomy field-field-swf-action-type&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Action Category:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    Arithmetic        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-number-integer field-field-swf-typed-action&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Action Details:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    0        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-number-integer field-field-swf-action-identifier&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Action Identifier:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    63        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-text field-field-swf-action-def&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Action Structure:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    &lt;div&gt;&lt;em&gt;&amp;lt;n.a.&amp;gt;&lt;/em&gt;&lt;/div&gt;        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-number-integer field-field-swf-action-len&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Action Length:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    0 byte(s)        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-text field-field-swf-action-stack&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Action Stack:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    pop 2 (n), push 1 (n)        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-text field-field-swf-action-operation&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Action Operation:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    &lt;div&gt;n&lt;sub&gt;1&lt;/sub&gt; := pop();&lt;br /&gt;
n&lt;sub&gt;2&lt;/sub&gt; := pop();&lt;br /&gt;
if(is_integer(n&lt;sub&gt;1&lt;/sub&gt;) &amp;amp;&amp;amp; is_integer(n&lt;sub&gt;2&lt;/sub&gt;)) {&lt;br /&gt;
&amp;nbsp; r := i&lt;sub&gt;2&lt;/sub&gt; % i&lt;sub&gt;1&lt;/sub&gt;;&lt;br /&gt;
}&lt;br /&gt;
else {&lt;br /&gt;
&amp;nbsp; r := f2 % f1;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: rgb(51, 153, 102);&quot;&gt;// in C it would be &lt;em&gt;fmod(f2, f1)&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;
}&lt;br /&gt;
push(r);&lt;/div&gt;

        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-number-integer field-field-swf-tag-version&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Action Flash Version:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    5        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-nodereference field-field-see-also&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;See Also:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    &lt;a href=&quot;/swf_action_divide&quot;&gt;Divide&lt;/a&gt;        &lt;/div&gt;
              &lt;div class=&quot;field-item even&quot;&gt;
                    &lt;a href=&quot;/swf_action_multiply&quot;&gt;Multiply&lt;/a&gt;        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;/fieldset&gt;
&lt;p&gt;Pop two numbers, compute the modulo and push the result back on the stack.&lt;/p&gt;
&lt;p&gt;Note that the operator can compute a floating point modulo (in case at least one of the parameters is a floating point.)&lt;/p&gt;

</description>
 <comments>http://www.m2osw.com/swf_action_modulo#comments</comments>
 <category domain="http://www.m2osw.com/taxonomy/term/690">Arithmetic</category>
 <pubDate>Thu, 31 Dec 2009 07:03:16 +0000</pubDate>
 <dc:creator>Alexis Wilke</dc:creator>
 <guid isPermaLink="false">371 at http://www.m2osw.com</guid>
</item>
<item>
 <title>Logical Or</title>
 <link>http://www.m2osw.com/swf_action_logicalor</link>
 <description>&lt;fieldset class=&quot;fieldgroup group-action&quot;&gt;&lt;legend&gt;SWF Action&lt;/legend&gt;&lt;div class=&quot;field field-type-content-taxonomy field-field-swf-action-type&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Action Category:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    Logical and Bitwise        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-number-integer field-field-swf-typed-action&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Action Details:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    0        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-number-integer field-field-swf-action-identifier&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Action Identifier:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    17        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-text field-field-swf-action-def&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Action Structure:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    &lt;div&gt;&lt;em&gt;&amp;lt;n.a.&amp;gt;&lt;/em&gt;&lt;/div&gt;        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-number-integer field-field-swf-action-len&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Action Length:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    0 byte(s)        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-text field-field-swf-action-stack&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Action Stack:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    pop 2 (b), push 1 (b)        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-text field-field-swf-action-operation&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Action Operation:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    &lt;div&gt;b&lt;sub&gt;1&lt;/sub&gt; := pop();&lt;br /&gt;
b&lt;sub&gt;2&lt;/sub&gt; := pop();&lt;br /&gt;
r := b&lt;sub&gt;2&lt;/sub&gt; || b&lt;sub&gt;1;&lt;/sub&gt;&lt;br /&gt;
push(r);&lt;/div&gt;

        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-number-integer field-field-swf-tag-version&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Action Flash Version:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    4        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-nodereference field-field-see-also&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;See Also:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    &lt;a href=&quot;/swf_action_and&quot;&gt;And&lt;/a&gt;        &lt;/div&gt;
              &lt;div class=&quot;field-item even&quot;&gt;
                    &lt;a href=&quot;/swf_action_logicaland&quot;&gt;Logical And&lt;/a&gt;        &lt;/div&gt;
              &lt;div class=&quot;field-item odd&quot;&gt;
                    &lt;a href=&quot;/swf_action_logicalnot&quot;&gt;Logical Not&lt;/a&gt;        &lt;/div&gt;
              &lt;div class=&quot;field-item even&quot;&gt;
                    &lt;a href=&quot;/swf_action_or&quot;&gt;Or&lt;/a&gt;        &lt;/div&gt;
              &lt;div class=&quot;field-item odd&quot;&gt;
                    &lt;a href=&quot;/swf_action_xor&quot;&gt;XOr&lt;/a&gt;        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;/fieldset&gt;
&lt;p&gt;Pop two values, compute the Logical OR and put the Boolean result back on the stack.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://www.m2osw.com/swf_action_logicalor&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.m2osw.com/swf_action_logicalor#comments</comments>
 <category domain="http://www.m2osw.com/taxonomy/term/579">Action</category>
 <category domain="http://www.m2osw.com/taxonomy/term/692">Logical and Bitwise</category>
 <pubDate>Thu, 31 Dec 2009 06:27:59 +0000</pubDate>
 <dc:creator>Alexis Wilke</dc:creator>
 <guid isPermaLink="false">370 at http://www.m2osw.com</guid>
</item>
<item>
 <title>Logical Not</title>
 <link>http://www.m2osw.com/swf_action_logicalnot</link>
 <description>&lt;fieldset class=&quot;fieldgroup group-action&quot;&gt;&lt;legend&gt;SWF Action&lt;/legend&gt;&lt;div class=&quot;field field-type-content-taxonomy field-field-swf-action-type&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Action Category:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    Logical and Bitwise        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-number-integer field-field-swf-typed-action&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Action Details:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    0        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-number-integer field-field-swf-action-identifier&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Action Identifier:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    18        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-text field-field-swf-action-def&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Action Structure:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    &lt;div&gt;&lt;em&gt;&amp;lt;n.a.&amp;gt;&lt;/em&gt;&lt;/div&gt;        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-number-integer field-field-swf-action-len&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Action Length:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    0 byte(s)        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-text field-field-swf-action-stack&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Action Stack:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    pop 1 (b), push 1 (b)        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-text field-field-swf-action-operation&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Action Operation:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    &lt;div&gt;b&lt;sub&gt;1&lt;/sub&gt; := pop();&lt;br /&gt;
r := ! b&lt;sub&gt;1&lt;/sub&gt;;&lt;br /&gt;
push(r);&lt;/div&gt;

        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-number-integer field-field-swf-tag-version&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Action Flash Version:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    4        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-nodereference field-field-see-also&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;See Also:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    &lt;a href=&quot;/swf_action_and&quot;&gt;And&lt;/a&gt;        &lt;/div&gt;
              &lt;div class=&quot;field-item even&quot;&gt;
                    &lt;a href=&quot;/swf_action_logicaland&quot;&gt;Logical And&lt;/a&gt;        &lt;/div&gt;
              &lt;div class=&quot;field-item odd&quot;&gt;
                    &lt;a href=&quot;/swf_action_logicalor&quot;&gt;Logical Or&lt;/a&gt;        &lt;/div&gt;
              &lt;div class=&quot;field-item even&quot;&gt;
                    &lt;a href=&quot;/swf_action_or&quot;&gt;Or&lt;/a&gt;        &lt;/div&gt;
              &lt;div class=&quot;field-item odd&quot;&gt;
                    &lt;a href=&quot;/swf_action_xor&quot;&gt;XOr&lt;/a&gt;        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;/fieldset&gt;
&lt;p&gt;Pop one value, compute the &lt;strong&gt;Logical NOT&lt;/strong&gt; and put the result back on the stack.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://www.m2osw.com/swf_action_logicalnot&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.m2osw.com/swf_action_logicalnot#comments</comments>
 <category domain="http://www.m2osw.com/taxonomy/term/692">Logical and Bitwise</category>
 <pubDate>Thu, 31 Dec 2009 06:18:41 +0000</pubDate>
 <dc:creator>Alexis Wilke</dc:creator>
 <guid isPermaLink="false">369 at http://www.m2osw.com</guid>
</item>
<item>
 <title>Logical And</title>
 <link>http://www.m2osw.com/swf_action_logicaland</link>
 <description>&lt;fieldset class=&quot;fieldgroup group-action&quot;&gt;&lt;legend&gt;SWF Action&lt;/legend&gt;&lt;div class=&quot;field field-type-content-taxonomy field-field-swf-action-type&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Action Category:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    Logical and Bitwise        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-number-integer field-field-swf-typed-action&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Action Details:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    0        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-number-integer field-field-swf-action-identifier&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Action Identifier:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    16        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-text field-field-swf-action-def&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Action Structure:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    &lt;div&gt;&lt;em&gt;&amp;lt;n.a.&amp;gt;&lt;/em&gt;&lt;/div&gt;        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-number-integer field-field-swf-action-len&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Action Length:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    0 byte(s)        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-text field-field-swf-action-stack&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Action Stack:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    pop 2 (b), push 1 (b)        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-text field-field-swf-action-operation&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Action Operation:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    &lt;div&gt;b&lt;sub&gt;1&lt;/sub&gt; := pop();&lt;br /&gt;
b&lt;sub&gt;2&lt;/sub&gt; := pop();&lt;br /&gt;
r := b&lt;sub&gt;2&lt;/sub&gt; &amp;amp;&amp;amp; b&lt;sub&gt;1&lt;/sub&gt;;&lt;br /&gt;
push(r);&lt;/div&gt;

        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-number-integer field-field-swf-tag-version&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Action Flash Version:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    4        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-nodereference field-field-see-also&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;See Also:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    &lt;a href=&quot;/swf_action_and&quot;&gt;And&lt;/a&gt;        &lt;/div&gt;
              &lt;div class=&quot;field-item even&quot;&gt;
                    &lt;a href=&quot;/swf_action_logicalnot&quot;&gt;Logical Not&lt;/a&gt;        &lt;/div&gt;
              &lt;div class=&quot;field-item odd&quot;&gt;
                    &lt;a href=&quot;/swf_action_logicalor&quot;&gt;Logical Or&lt;/a&gt;        &lt;/div&gt;
              &lt;div class=&quot;field-item even&quot;&gt;
                    &lt;a href=&quot;/swf_action_or&quot;&gt;Or&lt;/a&gt;        &lt;/div&gt;
              &lt;div class=&quot;field-item odd&quot;&gt;
                    &lt;a href=&quot;/swf_action_xor&quot;&gt;XOr&lt;/a&gt;        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;/fieldset&gt;
&lt;p&gt;Pop two values, compute the &lt;strong&gt;Logical AND&lt;/strong&gt; and put the Boolean result back on the stack.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://www.m2osw.com/swf_action_logicaland&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.m2osw.com/swf_action_logicaland#comments</comments>
 <category domain="http://www.m2osw.com/taxonomy/term/579">Action</category>
 <category domain="http://www.m2osw.com/taxonomy/term/692">Logical and Bitwise</category>
 <pubDate>Thu, 31 Dec 2009 06:08:54 +0000</pubDate>
 <dc:creator>Alexis Wilke</dc:creator>
 <guid isPermaLink="false">368 at http://www.m2osw.com</guid>
</item>
<item>
 <title>Less Than (typed)</title>
 <link>http://www.m2osw.com/swf_action_lessthantyped</link>
 <description>&lt;fieldset class=&quot;fieldgroup group-action&quot;&gt;&lt;legend&gt;SWF Action&lt;/legend&gt;&lt;div class=&quot;field field-type-content-taxonomy field-field-swf-action-type&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Action Category:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    Comparisons        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-number-integer field-field-swf-typed-action&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Action Details:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    (typed)        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-number-integer field-field-swf-action-identifier&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Action Identifier:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    72        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-text field-field-swf-action-def&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Action Structure:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    &lt;div&gt;&lt;em&gt;&amp;lt;n.a.&amp;gt;&lt;/em&gt;&lt;/div&gt;        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-number-integer field-field-swf-action-len&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Action Length:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    0 byte(s)        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-text field-field-swf-action-stack&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Action Stack:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    pop 2 (a), push 1 (b)        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-text field-field-swf-action-operation&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Action Operation:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    &lt;div class=&quot;field-items&quot;&gt;
&lt;div class=&quot;field-item odd&quot;&gt;
&lt;div class=&quot;field-items&quot;&gt;
&lt;div class=&quot;field-item odd&quot;&gt;
&lt;div&gt;a&lt;sub&gt;1&lt;/sub&gt; := pop();&lt;br /&gt;
a&lt;sub&gt;2&lt;/sub&gt; := pop();&lt;br /&gt;
if(is_int(a&lt;sub&gt;1&lt;/sub&gt;) &amp;amp;&amp;amp; is_int(a&lt;sub&gt;2&lt;/sub&gt;))&amp;nbsp;{&lt;br /&gt;
&amp;nbsp; i&lt;sub&gt;1&lt;/sub&gt; := (int)a&lt;sub&gt;1&lt;/sub&gt;;&lt;br /&gt;
&amp;nbsp; i&lt;sub&gt;2&lt;/sub&gt; := (int)a&lt;sub&gt;2&lt;/sub&gt;;&lt;br /&gt;
&amp;nbsp; r := i&lt;sub&gt;2&lt;/sub&gt; &amp;lt; i&lt;sub&gt;1&lt;/sub&gt;; &amp;nbsp;&amp;nbsp; &lt;span&gt;// compare integers&lt;/span&gt;&lt;br /&gt;
}&lt;br /&gt;
else if(is_numeric(a&lt;sub&gt;1&lt;/sub&gt;) &amp;amp;&amp;amp; is_numeric(a&lt;sub&gt;2&lt;/sub&gt;))&amp;nbsp;{&lt;br /&gt;
&amp;nbsp; f&lt;sub&gt;1&lt;/sub&gt; := (float)a&lt;sub&gt;1&lt;/sub&gt;;&lt;br /&gt;
&amp;nbsp; f&lt;sub&gt;2&lt;/sub&gt; := (float)a&lt;sub&gt;2&lt;/sub&gt;;&lt;br /&gt;
&amp;nbsp; r := f&lt;sub&gt;2&lt;/sub&gt; &amp;lt; f&lt;sub&gt;1&lt;/sub&gt;;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span&gt;// compare floating points&lt;/span&gt;&lt;br /&gt;
}&lt;br /&gt;
else {&lt;br /&gt;
&amp;nbsp; s&lt;sub&gt;1&lt;/sub&gt; := (string)a&lt;sub&gt;1&lt;/sub&gt;;&lt;/div&gt;
&lt;div&gt;&amp;nbsp; s&lt;sub&gt;2&lt;/sub&gt; := (string)a&lt;sub&gt;2&lt;/sub&gt;;&lt;br /&gt;
&amp;nbsp; r := s&lt;sub&gt;2&lt;/sub&gt; &amp;lt; s&lt;sub&gt;1&lt;/sub&gt;;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span&gt;// compare characters, case sensitive&lt;/span&gt;&lt;br /&gt;
}&lt;br /&gt;
push(r);&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-number-integer field-field-swf-tag-version&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Action Flash Version:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    5        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-nodereference field-field-see-also&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;See Also:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    &lt;a href=&quot;/swf_action_equal&quot;&gt;Equal&lt;/a&gt;        &lt;/div&gt;
              &lt;div class=&quot;field-item even&quot;&gt;
                    &lt;a href=&quot;/swf_action_equaltyped&quot;&gt;Equal (typed)&lt;/a&gt;        &lt;/div&gt;
              &lt;div class=&quot;field-item odd&quot;&gt;
                    &lt;a href=&quot;/swf_action_greaterthantyped&quot;&gt;Greater Than (typed)&lt;/a&gt;        &lt;/div&gt;
              &lt;div class=&quot;field-item even&quot;&gt;
                    &lt;a href=&quot;/swf_action_lessthan&quot;&gt;Less Than&lt;/a&gt;        &lt;/div&gt;
              &lt;div class=&quot;field-item odd&quot;&gt;
                    &lt;a href=&quot;/swf_action_strictequal&quot;&gt;Strict Equal&lt;/a&gt;        &lt;/div&gt;
              &lt;div class=&quot;field-item even&quot;&gt;
                    &lt;a href=&quot;/swf_action_stringequal&quot;&gt;String Equal&lt;/a&gt;        &lt;/div&gt;
              &lt;div class=&quot;field-item odd&quot;&gt;
                    &lt;a href=&quot;/swf_action_stringgreaterthantyped&quot;&gt;String Greater Than&lt;/a&gt;        &lt;/div&gt;
              &lt;div class=&quot;field-item even&quot;&gt;
                    &lt;a href=&quot;/swf_action_stringlessthan&quot;&gt;String Less Than&lt;/a&gt;        &lt;/div&gt;
              &lt;div class=&quot;field-item odd&quot;&gt;
                    &lt;a href=&quot;/swf_action_logicalnot&quot;&gt;Logical Not&lt;/a&gt;        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;/fieldset&gt;
&lt;p&gt;Pop two integers, floats, or strings, compute whether they are ordered 			from smaller to larger and push the Boolean result back on the stack.&lt;/p&gt;
&lt;p&gt;It is possible to test whether two values are &lt;em&gt;Greater Than or Equal&lt;/em&gt; using the &lt;a href=&quot;/swf_action_logicalnot&quot;&gt;&lt;strong&gt;Logical Not&lt;/strong&gt;&lt;/a&gt; operator on the result of &lt;strong&gt;Less Than&lt;/strong&gt;. The &lt;a href=&quot;/swf_action_greaterthantyped&quot;&gt;&lt;strong&gt;Greater Than (typed)&lt;/strong&gt;&lt;/a&gt; operator is used to support the other two comparison operators (thus eliminating the need to swap the top of the stack as in version 4.)&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://www.m2osw.com/swf_action_lessthantyped&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.m2osw.com/swf_action_lessthantyped#comments</comments>
 <category domain="http://www.m2osw.com/taxonomy/term/691">Comparisons</category>
 <pubDate>Thu, 31 Dec 2009 05:01:51 +0000</pubDate>
 <dc:creator>Alexis Wilke</dc:creator>
 <guid isPermaLink="false">367 at http://www.m2osw.com</guid>
</item>
</channel>
</rss>


