1: program varnt(input, output);
   2: type
   3:     vrec = record
   4:         rfield : integer;
   5:         case integer of
   6:         1: (
   7:             vfield : integer;
   8:         );
   9:         2: (
  10:             vfield2 : real;
  11:         );
  12:     end;
  13: 
  14: var
  15:     r : vrec;
  16: begin
  17:     r.vfield := 1;
  18:     r.vfield2 := 2.5;
  19:     r.rfield := 0;
  20:     writeln('done');
  21: end.
Last modified: 1984-04-01
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 1442
Valid CSS Valid XHTML 1.0 Strict