16,748
社区成员
发帖
与我相关
我的任务
分享
var
szAccounts: array [0 .. 15] of ansiCHAR; // 用户账号
dwUserID:dword;
result := Format('%-10s[%6d]', [ansistring(szAccounts), dwUserID])
function wsprintf(Output: PAnsiChar; Format: PAnsiChar): Integer; cdecl; varargs; external user32 name 'wsprintfA';
wsprintf(s, '%-10s[%6d]',ansistring(szAccounts), dwUserID);