⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 testdelphinetdottedtype.out

📁 格式化源码的最新板
💻 OUT
字号:
unit testdelphinetdottedtype;

interface

type
  tmyclass = class
  public
    msexceltype: system.type;
    objvalue:    system.object;
  end;

  tmyclass2 = class
  private
    objvalue:    system.object;
    msexceltype: system.type;
  public
    function getobject(mytype: system.type): TObject;
    procedure catchdottedexception;
  end;

implementation

uses system.runtime.remoting;

procedure tmyclass2.catchdottedexception;
begin
  try
  except
    on exp: system.runtime.remoting.remotingexception do
    begin
    end;
  end;
end;

function tmyclass2.getobject(mytype: system.type): TObject;
begin
  objvalue := system.object(convert.todouble(console.readline));
  msexceltype := system.type.gettypefromprogid('Excel.Application', True);
  Result := nil;
end;

end.
 

⌨️ 快捷键说明

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