.


:




:

































 

 

 

 





, , . . , . :

, , ;

;

, .

, , Prolog. , Prolog. Prolog . Prolog , . , , , , ..


, , , .

, 6.1 , Prolog . , , , , . , , . , , , . , , ( ) user. .

! 1


, i 1

2 ■


i \ - 4


, 6,1. Prolog

Prolog "" : , . , , . . , Filename, : see! Filename)

( - , Filename) , Filename. see , file!, a ,

see(filel),

read from file) Information), see fuser),

, :

tell! Filename)

f ile3, .


6.



tell(file3),

write_on_file£ Information),

tell { -user),

seen

,

told

.

, , Prolog . , . - . , , . . , , , end_of_file.

; . .

, .. , . , . , . , .

Prolog , . , . . , get, getO put.

, . , Prolog. - , , . read write. , , .

, . , , . . , , . , , . , .



I. Prolog






:


: 2015-10-01; !; : 1025 |


:

:

,
==> ...

1876 - | 1647 -


© 2015-2024 lektsii.org - -

: 0.023 .