// Effectus auto-generated Mad Pascal source code listing
program bytesPrg;

uses
  Crt, StringUtils, SySutils, CIO;

var
  strBuffer : string;
var
  eff_loop_var : byte;
  eff_cnt : byte;
  eff_string : string;
// Effectus example:
// BYTE ARRAY demo
var
  key : byte;  // key_byte_array
  i : byte;  // i_byte_array
  num : array[0..4] of byte;  // num_byte_array

procedure MAINProc;
begin
  Write(Chr(125));
  eff_string := '';
  Write('Effectus example:');  // Print 1
  Writeln;
  eff_string := '';
  Write('ARRAYs demonstration');  // Print 1
  Writeln;
  Writeln('');
  num[0] := 35;
  num[1] := 10;
  num[2] := 155;
  num[3] := 246;
  num[4] := 170;
 FOR i:=0 TO 4 do begin
  eff_string := '';
  Write('Element ');  // Print 1

  eff_string := '';
  Write(i);  // Print 2

  eff_string := '';
  Write('=');  // Print 1

  eff_string := '';
  Write(num[i]);  // Print 2
  Writeln;
  end;
  key := Get(7);
  ReadKey;
end;

begin
  MAINProc;
end.
