xkernel.pas

来自「关于c++ builder编程的很好的资料」· PAS 代码 · 共 27 行

PAS
27
字号
unit xKernel;

interface

uses Windows, SysUtils;

procedure DebugStr(S: string);
procedure DebugStrFmt(const Format: string; const Args: array of const);

implementation

uses xStrings, xUtils;

procedure DebugStr(S: string);
begin
  if not IsContainingCRLF(S) then S := S + #13#10;
  OutputDebugString(PChar(S));
end;

procedure DebugStrFmt(const Format: string; const Args: array of const);
begin
  DebugStr(SysUtils.Format(Format, Args));
end;

end.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?