.


:




:

































 

 

 

 


. 1. (Project | New Project)




1. (Project | New Project).

2. Factorial ).

3. . Window , New (.18).

.18.

 

Window Attributes (.19). Factorial .

.19.


4. (.20):

Static Text

Edit Control

Push Button

.20.

 

:

 

) Static Text, (- )(.21)

 

.21. Static Text


) Edit Control ( ),

.22. Edit Control

 

) Push Button (), (- )(.23)

.23. Push Button

 

) Static Text,

.24. Static Text

 

5. Visual Prolog . Code Expert, Factorial. Dialog and Window Expert. Factorial.pro Default Code(.25).

.25

 

, Add Clause, Edit Code .

 

6. Factorial Factorial. Task Window, Menu Event Type id_factorial ( ) Event or Item. Add Clause, - . Edit Clause, . Edit Clause. Factorial.pro, :

%BEGIN Task Window, id_factorial

task_win_eh(_Win,e_Menu(id_factorial,_ShiftCtlAlt),0):-!,

!.

%END Task Window, id_factorial

Factorial: win_factorial_Create(_Win). :

%BEGIN Task Window, id_factorial

task_win_eh(_Win,e_Menu(id_factorial,_ShiftCtlAlt),0):-!,





:


: 2015-09-20; !; : 605 |


:

:

, .
==> ...

933 - | 864 -


© 2015-2024 lektsii.org - -

: 0.011 .