ex103.pp 280 B

1234567891011121314151617
  1. Program Example103;
  2. { Program to demonstrate the FillByte function. }
  3. Var S : String[10];
  4. I : Byte;
  5. begin
  6. For i:=10 downto 0 do
  7. begin
  8. { Fill S with i bytes }
  9. FillChar (S,SizeOf(S),32);
  10. { Set Length }
  11. SetLength(S,I);
  12. Writeln (s,'*');
  13. end;
  14. end.