菜鸟请教高手一个简单的问题,谢谢帮助。(50分)

Z

zcflion

Unregistered / Unconfirmed
GUEST, unregistred user!
怎么把在VB中的这个句子转为DELPHI下可用:
rec_tmp_b(i) = AscB(MidB(rec_tmp_s, i, 1))
其中:
rec_tmp_s为string类型,rec_tmp_b为byte型的数组。
请帮帮我![?][?]
 

rec_tmp_b := StrToInt(rec_tmp_s)
 
rec_tmp_b :=ord(rec_tmp_b)
取ascII码值?嘿嘿,不知是不是这个意思:)
 
rec_tmp_b :=byte(rec_tmp_s);
 
顶部