uses 子句的写法


//uses 子句一般这样写

uses

  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs;



//这样写更清晰,因为Delphi忽略换行

uses

  Windows,

  Messages,

  SysUtils,

  Variants,

  Classes,

  Graphics,

  Controls,

  Forms,

  Dialogs;



//如果不在系统可以识别的路径中需要这样写:

uses

  Unitx in 'c:\temp\Unitx.pas'

你可能感兴趣的:(写)