L liuchong Unregistered / Unconfirmed GUEST, unregistred user! 2006-08-05 #2 var A:array[0..3] of Char; S:string; begin A[0]:='a'; A[1]:='b'; A[2]:='c'; A[3]:='d'; S:=a; Caption:=S; end;
var A:array[0..3] of Char; S:string; begin A[0]:='a'; A[1]:='b'; A[2]:='c'; A[3]:='d'; S:=a; Caption:=S; end;
W ww990 Unregistered / Unconfirmed GUEST, unregistred user! 2006-08-05 #3 直接使用s:=a;系统应会提示字符串不能等于数组,字符数组是以#0结尾的。
I iseek Unregistered / Unconfirmed GUEST, unregistred user! 2006-08-05 #4 循环. for i:=1 to 12 do s:=s+data;
Z zbr Unregistered / Unconfirmed GUEST, unregistred user! 2006-08-05 #7 var A:array[0..3] of Char; S:string; begin A[0]:='a'; A[1]:='b'; A[2]:='c'; A[3]:='d'; S:=StrPas(@A); ShowMessage(S);
var A:array[0..3] of Char; S:string; begin A[0]:='a'; A[1]:='b'; A[2]:='c'; A[3]:='d'; S:=StrPas(@A); ShowMessage(S);