pascalabcnet/_Presentations/2015 New Features/Programs/17_Dict_begin_end.pas

5 lines
154 B
ObjectPascal
Raw Permalink Normal View History

2015-05-14 22:35:07 +03:00
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.