(4 )
: , , Object Pascal /
:
1. Object Pascal
(set of < >).
2. , .
.
1. Delphi Structures.
2. 1, Set ( Set ).
3. Set , , ( TButton TBitBtn) 1.
4. onClick
Object Pascal .
.
5. . - .
8.1
. | |
1. | Type Stroka= string[80]; Var s:stroka; Schet(s), - '+', '-', '*', s. Windows- Delphi, TEdit, Function Schet TLabel. |
2. | Type month= 1..12; CountDays (m:month), m ( ). Windows- Delphi, TEdit, CountDays TLabel. |
3. | , , . ? : Type Lat = set of 'a'.. 'z'; Var :Lat; : 1) count(), (: count(['d','q','s']) =3). 2) print(A), . |
4. | , - . |
5. | , . , - (, , i, o, u) . . |
6. | Digits(n: integer), () n. Windows- , TEdit n, Digits . . n sd. |
7. | , . , : 1) , . 2) , ( , , . . , , . |
|
|
1. ?
2. ?
3. ?
4. ?
5. ?
6. ?