Advertisement
Vladislav8653

Senior Pascal developer Ul'ka

Apr 24th, 2023
496
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pascal 0.30 KB | None | 0 0
  1. uses Drawman;
  2. procedure square;
  3. begin
  4.  PenDown;
  5.  OnVector(0,3);
  6.  OnVector(3,0);
  7.  OnVector(0,-3);
  8.  OnVector(-3,0);
  9.  PenUp;
  10. end;
  11. begin
  12.   Field(14,9);
  13.   ToPoint(1,1);
  14.   Square;
  15.   ToPoint(3,3);
  16.   Square;
  17.   ToPoint(5,5);
  18.   Square;
  19.   ToPoint(7,3);
  20.   Square;
  21.   ToPoint(9,1);
  22.   Square;
  23. end.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement