Generate the CRC32 of an object.

1 math.crc32

<math.crc32>
    <var | expr /> !
</math.crc32>

Remarks

For more information you can see: http://en.wikipedia.org/wiki/Cyclic_redundancy_check

Example
Copy
<xsql-script name='crc32_sample1'>
    <body>
        <println>
            <math.crc32>
                <string>Test for the generation of crc32</string>
            </math.crc32>
        </println>
    </body>
</xsql-script>

226507959

Example
Copy
<xsql-script name='crc32_sample2'>
   <body>
       <println>
           <math.crc32>
               <file name='c:\tmp\edit1' type='absolute'/>
           </math.crc32>
       </println>
   </body>

</xsql-script>
Example
Copy
<xsql-script name='crc32_sample3'>
   <body>
       <println>
           <math.crc32>
               <select>
                   <columns>
                       MAX(text_data)
                   </columns>
                   <from table='cdoctext' />
               </select>
           </math.crc32>
       </println>
   </body>
</xsql-script>