举例:ShowMessageFmt('n1:%x; n2:%x', [n1,n2]);
显示Params 为 array[integer] of TvarRec
进制表示 %o(8) printf("%d(10) %x(16)
procedure ShowMessageFmt(const Msg: string; Params: array of const);
begin
ShowMessage(Format(Msg, Params));
end;
function Format(const Format: string; const Args: array of const): string;
begin
Result := System.SysUtils.Format(Format, Args, FormatSettings); //FormatSettings这个格式默认在哪里设定?
end;