本文整理自网络,侵删。
//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'
相关阅读 >>
Delphi tfilestream和tmemorystream分别读取、创建、合并文件
Delphi 判断字符是否是汉字,bytetype字符串中判断是否英文
Delphi中tapplicationevents控件的用途与使用方法
Delphi unknown picture file extension (.jpg) 错误提示
更多相关阅读请进入《Delphi》频道 >>