有问题看帮助UnitSysUtilsCategoryflow control routinesDelphi syntax:procedure Sleep(milliseconds: Cardinal);{$IFDEF MSWINDOWS} stdcall; {$ENDIF}C++ syntax:void Sleep(unsigned milliseconds);DescriptionSleep pauses program executions as specified by the milliseconds parameter. Under Windows, Sleep is just a link to the Sleep function in the system API. Under Linux, Sleep calls the usleep library routine.sleep按指定的毫秒时间,停止程序执行一般用在通讯中,比如我要接收一串数据,发请求命令后,此时数据还没传过来,所以要等上一定的时间,此时就用它
让程序等待(暂停)X毫秒。但在DELPHI7中X值不能少于15,否则无效。