home *** CD-ROM | disk | FTP | other *** search
- program testformat;
- uses crt,strings;
- const lins=18;
- s:array[1..lins] of string=(
- 'Did you know that an important aspect of the Iran/Contra affair has been',
- 'almost completely ignored in the press? It''s not surprising, since this',
- 'particular aspect impugns the credibility of the US media, especially',
- 'with respect to its coverage of Latin American affairs and US foreign',
- 'policy in the region. It seems the Reagan administration created a',
- 'domestic propaganda ministry, manned by former CIA psychological warfare',
- 'experts, with an aim to manipulate the public perception of events in',
- 'Latin America. Most (not all) of the US media fell prey to (or cooperated',
- 'with) the administration''s efforts to cover up atrocities by the',
- 'Contras and the Salvadoran and Guatemalan governments. This aspect of the',
- 'scandal was investigated by the congressional Iran/Contra committee, but',
- 'their findings were deleted in the final public report at the insistence of',
- 'congressional Republicans. An excellent summary of the scandal can be',
- 'found in the Fall 1988 issue of _Foreign_Policy_, in "Iran-Contra''s',
- 'Untold Story," an article co-written by Newseek reporter Robert Parry.',
- 'The following issue''s letters section includes a letter corroborating',
- 'the article''s conclusions, signed by seven US congressmen. Is this kind',
- 'of thing still happening?');
-
- var t:string;
- i,len,p:byte;
-
- begin
- len:=60;
- while len<80 do begin
- writeln(copies('----+',len div 5));
- i:=0; t:='';
- while i<lins do begin
- while (length(t)<=len) and (i<lins) do begin
- inc(i);
- t:=t+s[i]+' ';
- end;
- while length(t)>len do begin
- p:=lastpos(' ',t,len+1);
- writeln(justify(left(t,p,' '),len));
- t:=right(t,length(t)-p,' ');
- end;
- end;
- writeln(t);
- writeln('Press enter to continue ...'); readln;
- len:=len+5;
- end;
- end.