Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Pascal Thread

Name: Anonymous 2012-06-10 13:10

program RandomNumbers;

uses
  crt;

const
  XMIN = 1;
  XMAX = 80;
  YMIN = 1;
  YMAX = 24;

var
  x, y: Integer;
  matrix: Array[XMIN..XMAX, YMIN..YMAX] of Integer;

begin
  repeat
    for x := XMIN to XMAX do
    begin
      for y:= YMIN to YMAX do
      begin
        matrix[x,y] := random(9);
        write(matrix[x,y]);
      end;
    end;
  until 1 = 2;
end.

Name: Anonymous 2012-06-10 13:13

interesting indenting

also, pascal is shit

Name: Anonymous 2012-06-10 13:19

pascal is loads of fun and you are dumb.

also its fast: http://shootout.alioth.debian.org/u32/pascal.php

Name: Anonymous 2012-06-10 14:26

sure is 1990s

Name: Anonymous 2012-06-10 14:53

uses crt

Name: Anonymous 2012-06-10 15:05

Name: Anonymous 2012-06-10 15:51

lol

U MENA PASKAL?

Don't change these.
Name: Email:
Entire Thread Thread List