internal class clsVB { internal static string Chr(int p_intByte) { if( (p_intByte 255) ) { throw new ArgumentOutOfRangeException("p_intByte", p_intByte, "Must be between 1 and 255."); } byte[] bytBuffer = new byte[]{(byte) p_intByte}; return Encoding.GetEncoding(1252).GetString(bytBuffer); } internal static int Asc(string p_strChar) { if( (p_strChar.Length == 0) || (p_strChar.Length > 1) ) { throw new ArgumentOutOfRangeExceptio阅读全文>
发表于 @ 2008年11月04日 18:19:00|评论(loading...)|收藏