M Minko Unregistered / Unconfirmed GUEST, unregistred user! 2003-06-23 #1 比如有函数 myfunction(var Buffer):boolean; 我在函数中要如何取得这个Buffer中的值呢?
Z ZRWeng Unregistered / Unconfirmed GUEST, unregistred user! 2003-06-23 #3 操作一个无型参数,必须进行类型转换吧, function myfunction(var Buffer):boolean; begin myFunction:=Byte(Buffer); end;
M Minko Unregistered / Unconfirmed GUEST, unregistred user! 2003-06-23 #4 能给个例子把这个Buffer读入String 或者 PChar 类型变量里面去吗?
Z ZRWeng Unregistered / Unconfirmed GUEST, unregistred user! 2003-06-23 #5 function myfunction(var Buffer):boolean; var schar; begin s:=Pchar(buffer); showmessage(s); result:=true; end;
function myfunction(var Buffer):boolean; var schar; begin s:=Pchar(buffer); showmessage(s); result:=true; end;