本帖最后由 Modify 于 2014-12-26 15:07 编辑
遵循CPOL开源 / 转载请注明出处
E-mail: windowsvipcuv@live.cn
变量名 | 类 型 | 静态 | 数组 | 备 注 | n | 整数型 | | | i | 整数型 | | | size | 整数型 | | | len | 整数型 | | | buffer | 字节型 | | 0 | keys | 字节型 | | 0 | asc | 字节型 | | |
len = value 循环判断首 ()len = len ÷ radix size = size + 1 循环判断尾 (len > 0 )len = size 重定义数组 (buffer, 假, size )keys = { 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 65, 66, 67, 68, 69, 70 }计次循环首 (len, i )buffer [i ] = keys [value % radix + 1 ]value = value ÷ radix 计次循环尾 ()len = size ÷ 2 计次循环首 (len, i )n = size - i + 1 asc = buffer [i ]buffer [i ] = buffer [n ]buffer [n ] = asc 计次循环尾 ()返回 (到文本 (buffer ))
123.rar
(1.2 KB, 下载次数: 34)
|