.


:




:

































 

 

 

 





 

, . - . , . :

user_name , ,

view_list_films , ,

v_sr , .

- Parameter -> New Parameter, , ' . ϳ ESTA , .

, , user_name , , . 7.14.

 

7.14 user_name

 

ϳ :

parameter user_name: '' '

type text

explanation ' '

question ' ?'

view_list_films.

 

7.15 view_list_films

ϳ :

parameter view_list_films: ''

type boolean

explanation ' list_films.txt'

question user_name ', ?'

view_list_films , user_name. view_list_films user_name , .

. before_start, :

section before_start: ' '

advice ' '

if view_list_films call display ('list_films.txt')

, (. 7.16), before_start.

 

7.16

 

before_start , user_name:

section before_start: ' '

advice user_name '!!! '

if view_list_films call display (' list_films.txt ')

, (. 7.17), before_start.

 

7.17

 

, , , .

. , , user_name, , . , ' :

section before_start: ' '

if user_name = ' ' (

advice ' ',

exit

)

advice user_name '!!! '

if view_list_films call display (' list_films.txt ')

. , , . , :

parameter v_sr: ' '

type number

rules

distance / time * 60 if time> 0.

³ . start , :

advice ' =' v_sr ' / '

 





:


: 2015-11-05; !; : 330 |


:

:

: , .
==> ...

2191 - | 1812 -


© 2015-2024 lektsii.org - -

: 0.008 .