pascalabcnet/_Presentations/2015 New Features/Programs/17_Dict_begin_end.pas
Бондарев Иван e6e67c193c initial commit
2015-05-14 21:35:07 +02:00

5 lines
154 B
ObjectPascal

begin
var d := Dict('begin'=>0, 'end'=>0);
var ss := ReadAllText('14_FilesStr1.pas').ToWords().Where(s-> (s='begin') or (s='end'));
ss.Println;
end.