Hi All, Download the stack: CRC-32.rev http://andregarzia.on-rev.com/alejandro/stacks/CRC-32_LiveCode_Script.zip http://at.livecodejournal.com/stacks/CRC-32_LiveCode_Script.zip
or type in your message box: go stack "http://andregarzia.on-rev.com/alejandro/stacks/CRC-32.rev" go stack "http://at.livecodejournal.com/stacks/CRC-32.rev" Please report any incompatibilities and/or errors. Notice that there are many ways to calculate crc-32: http://zorc.breitbandkatze.de/crc.html but I choose to calculate a crc-32 compatible with the internal crc-32 generated for LiveCode's own compress function using this javascript code as example: http://www.digsys.se/JavaScript/CRC.aspx Many Thanks to Andre and Richard for both storage spaces in their servers! :-) Have a nice weekend and a Happy New Year! Al This CRC-32 livecode script is based on CRC-32 javascript from webpage: http://www.digsys.se/JavaScript/CRC.aspx XHTML / JavaScript source code September 19, 2010 Copyright (c) 2003-2011 Scandinavian Digital Systems AB Internet: http://www.digsys.se Freeware: The source code and its methods and algorithms may be used as desired without restrictions. All bitWise Functions and fixes written by Shao Sean: http://www.shaosean.tk/ published in the LiveCode mail list: http://lists.runrev.com/pipermail/use-livecode//2005-November/071181.html http://lists.runrev.com/pipermail/use-livecode//2005-November/071188.html http://lists.runrev.com/pipermail/use-livecode//2005-December/071668.html http://lists.runrev.com/pipermail/use-livecode//2005-December/071764.html CRC-32 (as it is in ZMODEM) in table form Copyright (C) 1986 Gary S. Brown. You may use this program, or code or tables extracted from it, as desired without restriction. Modified by Anders Danielsson, February 5, 1989 and March 10, 2006. This is also known as FCS-32 (as it is in PPP), described in RFC-1662 by William Allen Simpson, see RFC-1662 for references. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-CRC-32-LiveCode-stack-tp4246201p4246201.html Sent from the Revolution - User mailing list archive at Nabble.com. _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode