-

- (0)

, ...

( ) - (12)

- - 2 ; - 0.5 ...

- (0)

- - + ] - ( fega...

- (0)

  . ...

- (0)

? ...

 -

  • - (7)
  • (4)
  • (2)
  • - (2)
  • (1)
  • (1)
  • (0)

 -

 -

   Sedov09

 - e-mail

 

 -

 LiveInternet.ru:
: 09.07.2009
: 2049
: 1741
: 4908

:


19 .

, 19 2011 . 20:07 +

!

1964 - . IBM System 360. - , IBM PC. - System 360 PDP-11. " ".



, ! , .



- 80. , . .

PL/I,

/* Read in a line, which contains a string,
/* and then print every subsequent line that contains that string. */

find_strings: procedure options (main);
declare pattern character (100) varying;
declare line character (100) varying;
declare (line_no, end_file) fixed binary;

end_file = 0;
on endfile (sysin) end_file = 1;

get edit (pattern) (L);
line_no = 1;
do while (end_file = 0);
if index(line, pattern) > 0 then
put skip list (line_no, line);
line_no = line_no + 1;
get edit (line) (L);
end;

end find_strings;

:  

: [1] []
 

:
: 

: ( )

:

  URL