|
楼主 |
发表于 2024-6-23 01:02:20
|
显示全部楼层
接下来直接看主函数部分
- BEGIN {main program}
- Print_Welcome_Message(ProgName, version);
复制代码
看到里面调用了Print_Welcome_Message函数,这个函数就在DDRoutines单元中
打开DDRoutines单元 源文件 DDRoutins.pas,可以找到
- PROCEDURE Print_Welcome_Message(ProgName : TProgram; version : STRING);
- {Prints a welcome message, lists the authors and shows the name and verion of the program.}
- VAR strprogname : STRING;
- BEGIN
- Str(ProgName, strprogname); {convert variable ProgName to a string}
- WRITELN('Welcome to ',strprogname,' version ',version,'.');
- WRITELN('Copyright (C) 2020, 2021, 2022, 2023, 2024, S. Heester, Dr T.S. Sherkar,');
- WRITELN('Dr V.M. Le Corre, Dr M. Koopmans, F. Wobben,');
- WRITELN('and Prof L.J.A. Koster, University of Groningen.');
- WRITELN;
- END;
复制代码
|
|