【文件属性】:
文件名称:Delphi实验指导书
文件大小:79KB
文件格式:DOC
更新时间:2014-05-30 03:12:38
Getting Started with Delphi
通过设计几个程序来掌握基本的Pascal语法。通过Test1、Test2之间的互调熟悉Pascal中的procedure。
1. Write a procedure called Test2 that changes the caption of a Label component. Put a button on a form and have the button's OnClick handler call the Test2 procedure.
2. Take the program from exercise 1 and create another procedure called Test1 that, in turn, calls the Test2 procedure. Change the event handler of the button so that it calls Test1 rather than Test2.
3. Create a program that displays I will never talk back to my mother 20 times in a Memo component.
4. Write a record containing fields representing employee information. Include first name, last name, address, hire date, and a field indicating whether the employee is in the company's insurance plan.