delphi 程序启动参数
Though it was much more common in the days of DOS, modern operating systems also let you run command line parameters against an application so that you can specify what the application should do.
尽管在DOS时代更常见,但现代操作系统还允许您对应用程序运行命令行参数,以便您可以指定应用程序应执行的操作。
The same is true for your Delphi application, whether it be for a console application or one with a GUI. You can pass a parameter from Command Prompt in Windows or from the development environment in Delphi, under the Run > Parameters menu option.
无论是用于控制台应用程序还是带有GUI的Delphi应用程序,都是如此。 您可以从Windows的“命令提示符”或Delphi的开发环境的“运行”>“参数”菜单选项下传递参数。
For this tutorial, we'll be using the parameters dialog box to pass comm